Last edited 11 months ago

Arm CoreSight internal peripherals

Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP25x lines


1. Article purpose[edit | edit source]

The purpose of this article is to provide information on the Arm® CoreSight hardware subsystem.
It explains what are the principle peripherals of this subsystem.

2. Peripheral overview[edit | edit source]

Arm® CoreSight products include

  • a wide range of trace macrocells for Arm® processors,

To enable the debug and trace of the most complex, multi-core SoCs, Arm® CoreSight products include

  • a system and software instrumentation,
  • and a comprehensive set of IP blocks.

Arm® has defined an open CoreSightarchitecture to allow SoC designers to add "debug and trace" capabilities for other IP cores in to the CoreSight infrastructure.

Alternate text
CoreSight overview of STM32MP15. Check the Reference Manual for the other devices

2.1. Components description[edit | edit source]

The debug features are based on Arm® CoreSight™ components

Arm® CoreSight™ components STM32MP13x lines More info.png STM32MP15x lines More info.png STM32MP25x lines More info.png
SWJ-DP: JTAG/Serial-wire debug port Yes Yes Yes
AXI-AP: AXI access port Yes Yes Yes
AHB-AP: AHB access port No Yes Yes
APB-AP: APB access port Yes Yes Yes
ITM: Instrumentation Trace Macrocell No Yes Yes
DWT: Data Watchpoint and Trace No Yes Yes
FPB: Flash Patch and Breakpoint No Yes Yes
ETM: Embedded Trace Macrocell Yes Yes Yes
ETF: Embedded Trace FIFO Yes Yes Yes
ETR: Embedded Trace Router No No Yes
TPIU: Trace Port Interface Unit Yes Yes Yes
SWO: Serial Wire Output No Yes Yes
CTI: Cross Trigger Interface Yes Yes Yes
CTM: Cross Trigger Matrix Yes Yes Yes
TSGEN:Timestamp Generator Yes Yes Yes
STM: System Trace Macrocell No Yes Yes

More information about these components can be found in the Arm® website [1]

2.2. Features[edit | edit source]

Refer to the Debug support (DBG) chapter of reference manuals corresponding to the STM32 MPU, you use, for the complete list of features, and to the software components, introduced above, to see which features are really implemented.

3. Peripheral usage[edit | edit source]

Arm® CoreSight™ components can not be assigned neither at boot time nor at runtime.

Arm® CoreSight™ components are accessible from external debuggers only when debug is activated, e.g. in production mode by using the wrapper for FSBL.

4. Software frameworks and drivers[edit | edit source]

There is no embedded software dedicated to the CoreSightinternal peripheral delivered with STM32MPU ecosystem. Nevertheless, debugging tools use them through an external probe.


5. References[edit | edit source]