Skip to main content
Poul-Erik
Associate
March 22, 2021
Question

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

  • March 22, 2021
  • 3 replies
  • 1542 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

Tesla DeLorean
Guru
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?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
kgardas
Associate III
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.

kgardas
Associate III
March 23, 2023