Skip to main content
Visitor II
June 10, 2024
Question

SCB_EnableDCache is stuck

  • June 10, 2024
  • 2 replies
  • 1374 views

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.

    2 replies

    Super User
    June 11, 2024

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

    Rb7Author
    Visitor II
    June 11, 2024

    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. 

     

    Super User
    June 11, 2024

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