Skip to main content
Associate
Jun 10, 2024 12:30 PM UTC
Question

SCB_EnableDCache is stuck

Hi
I'm using STM32H753 and I enabled the icache and dcache , generated the code , and run it.
The function SCB_EnabIeICache() ends but SCB_EnabIeDCache() is stuck.
The project is an empty one.
What can be the cause of it ?
Thanks!

This topic has been closed for replies.

3 replies

Pavel A.
Jun 11, 2024 1:28 AM UTC

Are you trying to step thru it with the debugger? If so, don't. Run thru these SCB_,,,cache functions at full speed.

Rb7Author
Associate
Jun 11, 2024 6:27 AM UTC

Hi Pavel.

It is stuck in both cases: when I run it without single step ,

And when I run it with single step.

It looks like it runs in a very long loop , trying to invalidate cache entries.

Thanks. 

 

Pavel A.
Jun 11, 2024 10:20 PM UTC

When you run it at full speed and it hangs, is it actually trapped in some exception handler? can you break in?