Capability Of The Debugger Host To Connect Under System Reset; Fpb (Flash Patch Breakpoint) - ST STM32F100 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F100 Series:
Table of Contents

Advertisement

RM0041
25.11
Capability of the debugger host to connect under system
reset
The reset system of the STM32F100xx 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
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 immediately halts without having executed any
instructions. In addition, it is possible to program any debug features under System Reset.
Note:
It is highly recommended for the debugger host to connect (set a breakpoint in the reset
vector) under system reset.
25.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.
®
-M3 differentiates the reset of the debug part (generally PORRESETn) and the
RM0041 Rev 6
Debug support (DBG)
685/709
698

Advertisement

Table of Contents
loading

Table of Contents