2025-07-14 1:06 AM - last edited on 2025-07-14 1:47 AM by mƎALLEm
Hello Team,
Since SCB and other core registers are not included in the SVD file for STM32H5, could you please advise on the best way to access or monitor SCB registers (e.g., VTOR, AIRCR, ICSR) during debugging in VS Code with PlatformIO?
Specifically, I'm looking for guidance on:
How to inspect SCB register values during a debug session (e.g., trap cause, exception entry).
Recommended approach to capture trap/exception information like:
HardFault status (HFSR)
Configurable Fault Status (CFSR)
Bus Fault (BFAR)
MemManage Fault (MMFAR)
Any suggestions for manual mapping or watch expressions in the debugger that would allow me to monitor these registers, since they’re not shown in the peripheral view.
Any tips or best practices for bare-metal Cortex-M33 debugging without full SVD support would be greatly appreciated.
Best regards,
Manikanta
2025-07-16 12:45 AM
Hi @mani9989
just to understand, you need support on PlatformIO ?
2025-07-16 5:19 AM
2025-07-16 5:59 AM
you can use the fault status register view in the debug pane of VSCode
2025-07-16 7:56 AM
i dont see the fault registers
2025-07-17 12:53 AM
which version of the extension are you running ?
2025-07-17 1:10 AM
2025-07-17 4:54 AM
could you share which version of the STM32Cube extension for VSCode you are using ?
2025-07-17 5:05 AM
2025-07-18 1:35 AM
so I invite you to use our extension where you will find more features