Thanks, after some research I found at least a solution which work after additional restart, add: "postRestartCommands": [ "load", "set $pc = &ResetISR", to my launch.json to tell GDB to set PC. Not yet found something for initial launch but still searching.
Hi, I'm working on VS-Code and use Cortex Debug plugin to debug my IMXRT1176. When program is linked to rum von NOR flash all is working fine, but when it's configured to rum von RAM debugging in VS-Code is not possible (Debugger reset MCU but then start program from NOR and not from RAM). When using generated elf file with OZONE I can debug without problems. It seems like JLinkGDBServerCL.exe wont set PC/SP according information from elf after reset/loading. I try to fix this with jLinkScript b…