Datasheet
LPC84x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2018. All rights reserved.
Product data sheet Rev. 1.7 — 27 February 2018 41 of 97
NXP Semiconductors
LPC84x
32-bit Arm Cortex-M0+ microcontroller
8.29 Emulation and debugging
Debug functions are integrated into the Arm Cortex-M0+. Serial wire debug functions are
supported in addition to a standard JTAG boundary scan. The Arm Cortex-M0+ is
configured to support up to four breakpoints and two watch points.
The Micro Trace Buffer is implemented on the LPC84x.
The RESET
pin selects between the JTAG boundary scan (RESET = LOW) and the Arm
SWD debug (RESET
= HIGH). The Arm SWD debug port is disabled while the LPC84x is
in reset. The JTAG boundary scan pins are selected by hardware when the part is in
boundary scan mode (see Table 4
).
To perform boundary scan testing, follow these steps:
1. Erase any user code residing in flash.
2. Power up the part with the RESET
pin pulled HIGH externally.
3. Wait for at least 250 s.
4. Pull the RESET
pin LOW externally.
5. Perform boundary scan operations.
6. Once the boundary scan operations are completed, assert the TRST
pin to enable the
SWD debug mode, and release the RESET
pin (pull HIGH).
Remark: The JTAG interface cannot be used for debug purposes.