Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

JTAG slow down

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

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.