Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] Discrepancy of timing during debugging versus non-debugging

2006-02-21 by Joel Winarske

Hi Jeff,

> I'm developing with the LPC2220 processor, using IAR's Embedded
> Workbench (4.30A and J-Link.  For some reason, about 30% of the time,
> when I run code in debug mode (using C-Spy) my timer and/or processor
> clock runs at incorrect speeds.  Yet when I end the debug session, low
> assert the reset pin on the processor, and let it boot up using the
> code in flash, all clock speeds will run at the correct speeds.  Is
> there a register in the processor or a setting in the IAR Embedded
> Workbench that I'm missing that would fix this problem?

Check under Linker settings, and verify "Buffered terminal output" is
unchecked. 


Joel

Attachments

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.