09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Debug support (DBG) <strong>RM0090</strong><br />

33 Debug support (DBG)<br />

This section applies to the whole STM32F4xx family, unless otherwise specified.<br />

33.1 Overview<br />

The STM32F4xx are built around a Cortex-M4F core which contains hardware extensions<br />

for advanced debugging features. The debug extensions allow the core to be stopped either<br />

on a given instruction fetch (breakpoint) or data access (watchpoint). When stopped, the<br />

core’s internal state and the system’s external state may be examined. Once examination is<br />

complete, the core and the system may be restored and program execution resumed.<br />

The debug features are used by the debugger host when connecting to and debugging the<br />

STM32F4xx MCUs.<br />

Two interfaces for debug are available:<br />

● Serial wire<br />

● JTAG debug port<br />

Figure 424. Block diagram of STM32 MCU and Cortex-M4F-level debug support<br />

JTMS/<br />

SWDIO<br />

JTDI<br />

JTDO/<br />

TRACESWO<br />

NJTRST<br />

JTCK/<br />

SWCLK<br />

STM32F4xx debug support<br />

Cortex-M3 debug suppo rt<br />

Cortex-M3<br />

core<br />

SWJ-DP AHB-AP<br />

Internal private<br />

peripheral bus (PPB)<br />

Bus matrix<br />

estricted Di<br />

Note: The debug features embedded in the Cortex-M4F core are a subset of the ARM<br />

CoreSight Design Kit.<br />

1367/1416 Doc ID 018909 Rev 3<br />

Data<br />

Bridge<br />

NVIC<br />

DWT<br />

FPB<br />

ITM<br />

DCode<br />

interface<br />

System<br />

interface<br />

External private<br />

peripheral bus (PPB)<br />

TPIU<br />

Trace port<br />

DBGMCU<br />

TRACESWO<br />

TRACECK<br />

TRACED[3:0]<br />

MS19908V2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!