Skip to main content
Visitor II
March 22, 2021
Question

st-link v3 error when debug cortex m7 code in ram and I-CACHE enabled.

  • March 22, 2021
  • 3 replies
  • 1499 views

I am moving a smt32H750 application from flash to ram. In flash the st-link v3 works fine both single step and break points, but when moved to ram, it is diffucult to get the ST-LINK breaking the program. If the main-loop is extended (cache not cover all code) the break-point work. If I disable the I-cache it works). If I replace the ST-LINK by a J-LINK from Segger, it works.

Bert regards PEH.

    This topic has been closed for replies.

    3 replies

    Graduate II
    March 22, 2021

    I could see that being a pain. Perhaps the other tools just turn off caching, doing a cache-clean is likely more disruptive.

    Does it work better if you use ITCMRAM?

    Visitor II
    March 23, 2023

    I'm hit by the same issue. I've reported it here: https://community.st.com/s/feed/0D53W00002BBBlsSAH -- and most importantly based on forum user advice I've also reported it to the ST.com support. They assigned some engineer to it so there is perhaps a chance someone will officially tell what to do about it.