debpin-001
Device
Debug
module
Module
Debug
module
Module
Debug
module
Emulation pins
manager
Application pins
manager
Device pads
Public Version
www.ti.com
Emulation Pin Manager
27.4 Emulation Pin Manager
This section describes the debug pins in the device.
27.4.1 EPM Overview
The EPM manages the multiplexing of the emulation pin to the application pin manager.
shows the EPM in the device.
Figure 27-16. EPM Overview
For more informations about the application pin manager, see
, System Control Module.
27.4.2 EPM Integration
The EPM is in the EMU power domain and is connected to the L4 debug interconnect for register control
access.
27.4.3 EPM Functional Description
27.4.3.1 EPM Overview
Some subsystems provide a debug port that can be configured to support a specific debug and trace
feature. The configuration and debug source selection are done through the EPM.
At the device level, the platform shares a unique debug port. A similar mechanism allows configuring and
selecting a specific debug source for each pin. This allows supporting concurrent debug features, provided
that pin mapping does not conflict.
The device EPM can be programmed from the application or debugger software. A claim mechanism
ensures exclusive ownership. However, the debugger can override the ownership state.
The debug port is mapped on top of a set of application pins. The device platforms provide the application
software with the flexibility to map a set of peripheral interfaces to these pins. The configuration and the
application source selection are done through the device application pin manager in the system control
module (SCM) (for more information, see
, System Control Module).
When the EPM is programmed to map a debug function to the debug port, the application pin manager (in
the SCM) automatically selects the EPM channel.
27.4.3.2 EPM Multiplexing
EPM multiplexes multiple debug signals to the etk_xxx and jtag_emu0/1 signals. The multiplexing function
is controlled by the following registers:
•
•
•
Multiple signals can be controlled by a single bit field (for example, the etk_d10, etk_d9, and etk_d8
3639
SWPU177N – December 2009 – Revised November 2010
Debug and Emulation
Copyright © 2009–2010, Texas Instruments Incorporated