JTAG slow down
2006-05-02 by Richard Wimmer
I use a EWARM IDE and JLink debugger on a LPC2103. The code is now very simple and executes in a endless main loop (toggling port pin in less than 8 us). When I attach the JTAG the execution takes 35ms. This is due to the function call, which has been compiled not in sequence from the main. Modifying the compiler setting and when the program runs from memory location in sequence the long timing problem disappears. How and why does the debugger influence the execution time? How can I minimize this effect? Thank you all richard