Skip to main content
Duc
Senior
August 2, 2025
Solved

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

  • August 2, 2025
  • 2 replies
  • 445 views

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!

Best answer by Duc

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

Duc_0-1754133269733.png

 

2 replies

Duc
DucAuthorBest answer
Senior
August 2, 2025

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

Duc_0-1754133269733.png

 

TDK
Super User
August 2, 2025

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
August 2, 2025

Hi @TDK,

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