Chapter 3
SWRU191C–April 2009– Revised January 2012
Debug Interface
The two-wire debug interface allows programming of the on-chip flash, and it provides access to memory
and register contents and debug features such as breakpoints, single-stepping, and register modification.
The debug interface uses I/O pins P2.1 and P2.2 as debug data and debug clock, respectively, during
debug mode. These I/O pins can be used as general-purpose I/O only while the device is not in debug
mode. Thus, the debug interface does not interfere with any peripheral I/O pins.
Topic ........................................................................................................................... Page
3.1 Debug Mode ..................................................................................................... 54
3.2 Debug Communication ...................................................................................... 54
3.3 Debug Commands ............................................................................................. 56
3.4 Flash Programming ........................................................................................... 60
3.5 Debug Interface and Power Modes ...................................................................... 60
3.6 Registers .......................................................................................................... 62
53
SWRU191C–April 2009–Revised January 2012 Debug Interface
Submit Documentation Feedback
Copyright © 2009–2012, Texas Instruments Incorporated