AN4989 Rev 3
65/118
AN4989
Exception handling
117
STM32CubeIDE
At runtime, while debug is in break state, the SCB register can be accessed in read mode or
in write mode through:
Window -> Show View -> SFRs
as shown in
.
Figure 45. STM32CubeIDE SCB register access
If you need more informations about the Hardfault,you can first enable faulting or halting
when the processor executes an SDIV or UDIV instruction with a divisor of 0:
SCB->CCR | = 0x01.
At runtime, before pressing “resume” button, open “Fault Analyzer” in
Window ->Show View -> Fault Analyzer
Содержание STM32 Series
Страница 46: ...Connecting to the board AN4989 46 118 AN4989 Rev 3 Figure 30 Keil hotplug step2 ...
Страница 91: ...AN4989 Rev 3 91 118 AN4989 Debug through hardware exploration 117 Figure 69 STM32F4 F7 dual MCO capabilities ...
Страница 103: ...AN4989 Rev 3 103 118 AN4989 Managing DBGMCU registers 117 Figure 78 Generator Options debug MCU in STM32CubeIDE ...