UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
424 of 523
21.1 How to read this chapter
The debug functionality is identical for all LPC11U3x/2x/1x parts.
21.2 Features
•
Supports ARM Serial Wire Debug mode.
•
Direct debug access to all memories, registers, and peripherals.
•
No target resources are required for the debugging session.
•
Four breakpoints.
•
Two data watchpoints that can also be used as triggers.
•
Supports JTAG boundary scan.
21.3 Introduction
Debug functions are integrated into the ARM Cortex-M0. Serial wire debug functions are
supported. The ARM Cortex-M0 is configured to support up to four breakpoints and two
watchpoints.
21.4 Description
Debugging with the LPC11U3x/2x/1x uses the Serial Wire Debug mode. Support for
boundary scan is available.
21.5 Pin description
The tables below indicate the various pin functions related to debug. Some of these
functions share pins with other functions which therefore may not be used at the same
time.
UM10462
Chapter 21: LPC11U3x/2x/1x Serial Wire Debugger (SWD)
Rev. 5.5 — 21 December 2016
User manual
Table 410. Serial Wire Debug pin description
Pin Name
Type
Description
SWCLK
Input
Serial Wire Clock.
This pin is the clock for SWD debug logic when in
the Serial Wire Debug mode (SWD). This pin is pulled up internally.
SWDIO
Input /
Output
Serial wire debug data input/output.
The SWDIO pin is used by an
external debug tool to communicate with and control the
LPC11U3x/2x/1x. This pin is pulled up internally.