cancel
Showing results for 
Search instead for 
Did you mean: 

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

Duc
Associate III

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Duc
Associate III

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

Duc_0-1754133269733.png

 

View solution in original post

3 REPLIES 3
Duc
Associate III

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

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
Associate III

Hi @TDK,

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