cancel
Showing results for 
Search instead for 
Did you mean: 

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

Poul-Erik
Associate II

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.

3 REPLIES 3

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
kgardas
Associate III

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.