|
|||||||||||
|
Technical Support Support Resources
Product Information |
Technical SupportULINK: LPC2000 SINGLE STEP AT RESET APPEARS TO FAILInformation in this article applies to:
QUESTIONI am using the Keil ULINK on a Philips/NXP LPC2000 target hardware. When I start a debugging session (with 'Run to main()' turned off) or when I reset the CPU the program counter is at its reset address. From there I execute single steps and expect to go through the STARTUP.S file. Instead the system jumps to the 0xFFFFxxxx region and stays there. What causes this behavior? ANSWERThe NXP LPC2000 devices have built-in boot firmware which executes after CPU reset. What you actually see is the execution of this boot firmware. Since the boot firmware disables the JTAG interface with one of the first instructions it is not possible to step through it. When the program counter is on the reset address (0x0000 when on-chip flash is used) there are two ways to reach the startup code:
Now, you can single step through the startup code. MORE INFORMATION
SEE ALSOFORUM THREADSThe following Discussion Forum threads may provide information related to this topic. Last Reviewed: Sunday, January 28, 2007 | ||||||||||
|
|||||||||||