166
With these additional commands are the values of the fast GPIO registers in the C-
SPY debugger correct and can be used for debugging. For more information about J-
Link command line options refer to subchapter Command strings on page 133.
7.5.1.2 Reset (Cortex-M3 based devices)
For Cortex-M3 based NXP LPC devices the reset itself does not differ from the one for
other Cortex-M3 based devices: After the device has been reset, the core is halted
before any instruction is performed. For the Cortex-M3 based LPC devices this means
the CPU is halted before the bootloader which is mapped at address 0 after reset.
The user should write the memmap register after reset, to ensure that user flash is
mapped at address 0. Moreover, the user have to correct the Stack pointer (R13) and
the PC (R15) manually, after reset in order to debug the application.
LPC288x flash programming
In order to use the LPC288x devices in combination with J-Link FlashDL the applica-
tion you are trying to debug, should be linked to the original flash @ addr
0x10400000. Otherwise it is user's responsibility to ensure that flash is re-mapped to
0x0 in order to debug the application from addr 0x0.
J-Link / J-Trace (UM08001)
CHAPTER 7
© 2004-2011 SEGGER Microcontroller GmbH & Co. KG
Device specifics
Need help?
Do you have a question about the J-Link and is the answer not in the manual?
Questions and answers