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 but was not able to write PC because several commands i.e. "Elf.GetExprValue("ResetISR");" or "Target.SetReg("PC", PC);" won't work.
I want to load jdebug file from OZONE with JLinkGDBServerCL.exe but i can't find how it's done.
I would be grateful for any suggestion how to solve my issue.
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 but was not able to write PC because several commands i.e. "Elf.GetExprValue("ResetISR");" or "Target.SetReg("PC", PC);" won't work.
I want to load jdebug file from OZONE with JLinkGDBServerCL.exe but i can't find how it's done.
I would be grateful for any suggestion how to solve my issue.