Hello,
I was trying to use Jlink Ultra + to debug the M4 core of iMX8M SOC and after lot of head scratching I found out that Jlink is not able to do proper debugging when M4 application is loaded at DDR RAM i.e. 0x7E00_0000. When I redirected the app at TCM location viz. 0x007E_0000 it worked like a charm.
After scouting around I came across this thread: DEBUGGING doesn't work in external RAM, but in internal RAM
So my issue is also similar and Niklas commented there that they will implement a solution by disabling the cache momentarily.
So is this issue addressed by Segger yet? if not is there any better workaround than just disabling the cache in application?
I was trying to use Jlink Ultra + to debug the M4 core of iMX8M SOC and after lot of head scratching I found out that Jlink is not able to do proper debugging when M4 application is loaded at DDR RAM i.e. 0x7E00_0000. When I redirected the app at TCM location viz. 0x007E_0000 it worked like a charm.
After scouting around I came across this thread: DEBUGGING doesn't work in external RAM, but in internal RAM
So my issue is also similar and Niklas commented there that they will implement a solution by disabling the cache momentarily.
So is this issue addressed by Segger yet? if not is there any better workaround than just disabling the cache in application?