Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 451 of 547
27.1 How to read this chapter
The debug functionality is identical for all LPC111x, LPC11D14, and LPC11Cxx parts.
27.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.
27.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.
27.4 Description
Debugging with the LPC111x/LPC11Cxx uses the Serial Wire Debug mode.
27.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.
UM10398
Chapter 27: LPC111x/LPC11Cxx Serial Wire Debug (SWD)
Rev. 12.3 — 10 June 2014 User manual
Table 418. Serial Wire Debug pin description
Pin Name Type Description
SWCLK Input Serial Wire Clock. This pin is the clock for debug logic when in the
Serial Wire Debug mode (SWCLK). 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
LPC111x/LPC11Cxx. This pin is pulled up internally.