English
Language : 

RM0383 Datasheet, PDF (813/837 Pages) STMicroelectronics – This Reference manual targets application developers
RM0383
Debug support (DBG)
23.11
Note:
Capability of the debugger host to connect under system
reset
The reset system of the STM32F411xC/E MCU comprises the following reset sources:
• POR (power-on reset) which asserts a RESET at each power-up.
• Internal watchdog reset
• Software reset
• External reset
The Cortex®-M4 with FPU differentiates the reset of the debug part (generally
PORRESETn) and the other one (SYSRESETn)
This way, it is possible for the debugger to connect under System Reset, programming the
Core Debug Registers to halt the core when fetching the reset vector. Then the host can
release the system reset and the core will immediately halt without having executed any
instructions. In addition, it is possible to program any debug features under System Reset.
It is highly recommended for the debugger host to connect (set a breakpoint in the reset
vector) under system reset.
23.12
FPB (Flash patch breakpoint)
The FPB unit:
• implements hardware breakpoints
• patches code and data from code space to system space. This feature gives the
possibility to correct software bugs located in the Code Memory Space.
The use of a Software Patch or a Hardware Breakpoint is exclusive.
The FPB consists of:
• 2 literal comparators for matching against literal loads from Code Space and remapping
to a corresponding area in the System Space.
• 6 instruction comparators for matching against instruction fetches from Code Space.
They can be used either to remap to a corresponding area in the System Space or to
generate a Breakpoint Instruction to the core.
DocID026448 Rev 1
813/836
829