Figure 45. Stm32Cubeide Scb Register Access - STMicroelectronics STM32 Application Note

Microcontroller debug toolbox
Hide thumbs Also See for STM32:
Table of Contents

Advertisement

AN4989
Exception handling
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.

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
AN4989 Rev 3
65/118
117

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF