Skip to main content
Duc
Senior
Aug 2, 2025 9:39 AM UTC
Solved

Issues with NUCLEO-H7S3L8 Boot Subproject Stuck at SCB_EnableDCache()

Hi everyone,

I am currently working with the NUCLEO-H7S3L8 board and using STM32CubeMX version 6.14.1 to generate code. I've kept everything at default settings and only added pins to toggle LEDs for testing. However, when I try to debug the code, I run into an issue where the boot subproject gets stuck at the SCB_EnableDCache(); function for a while, before eventually jumping to Error_Handler(void).

I haven’t modified anything else in the generated code, so I'm wondering if there’s a configuration setting I may have missed or something I need to tweak in order to resolve this issue.

Has anyone encountered this behavior or know what steps I should take to fix it?

Thanks in advance for your help!

This topic has been closed for replies.
Duc
DucBest answer
Senior
Aug 2, 2025 11:14 AM UTC

By using the STM32CubeProgrammer to check the value of the XSPI2-HSLV option byte, my problem was resolved.

Duc_0-1754133269733.png

 

3 replies

Duc
DucAuthorBest answer
Senior
Aug 2, 2025 11:14 AM UTC

By using the STM32CubeProgrammer to check the value of the XSPI2-HSLV option byte, my problem was resolved.

Duc_0-1754133269733.png

 

TDK
Aug 2, 2025 2:48 PM UTC

Are you single stepping? Does it work if you press "run" and then, after it's been ran, hit "pause" to see where execution is at?

Solved: STM32H750B-DK Debug issue with SCB_EnableDCache - STMicroelectronics Community

 

 

Edit: Ah, I see you have solved it in your reply. Mark your post as the solution then please.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Duc
DucAuthor
Senior
Aug 2, 2025 3:18 PM UTC

Hi @TDK,

In my case, after enabling the XSPI2-HSLV option, my problem was resolved.