
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
411 of 464
NXP Semiconductors
UM10850
Chapter 29: LPC5410x Serial Wire Debug (SWD)
29.6.4.5.4
Identification register (ID, offset 0xFC) bit description
The ID register provides an identification of the ISP-AP interface.
29.6.4.6 ISP-AP commands
Commands for the ISP-AP are listed below.
29.6.4.7 ISP-AP return codes
Return codes for ISP-AP commands are listed below.
29.7 Debug configuration
29.7.1 Cortex-M4
•
Eight breakpoints. Six instruction breakpoints that can also be used to remap
instruction addresses for code patches. Two data comparators that can be used to
remap addresses for patches to literal values.
•
Four data Watchpoints.
•
Instrumentation Trace Macrocell allows additional software controlled trace capability.
29.7.2 Cortex-M0+ (present on LPC54102 devices)
•
Four breakpoints.
•
Two data Watchpoints.
Table 462. Identification register (ID, offset 0xFC) bit description
Bit
Symbol
Description
Reset value
31:0
ID
Identification value.
0x002A 0000
Table 463. Register overview: ISP-AP (base address 0x1C04 0000)
Name
Command
code
Description
Enter ISP-AP
1
Cause the device to enter ISP-AP command mode. This must be done prior to sending
other commands.
Bulk Erase
2
Erase the entire on-chip flash memory.
Query CRP Level
3
Queries the Code Read Protection (CRP) level currently in force on the device.
Exit ISP_AP
4
Cause the device to exit ISP-AP command mode. The Device returns to normal mode.
Table 464. Register overview: ISP-AP (base address 0x1C04 0000)
Return code
Description
0x0000 0000
Command succeeded. Applies to commands other than “Query CRP level”.
0x0010 0001
Debug mode not entered. This is returned if other commands are sent prior to the “Enter ISP-AP” command.
0x0010 0002
Command not recognized. A command was received other than the ones defined above.
0x0010 0003
Command failed.