There is a question that needs to be consulted. I am debugging mpc5744p, but I found that when using S32DS, the code can only be downloaded to RAM, but not flash. That is to say, I can run the program when I debug, but after the dug, I find that the program is not burned in the chip. How can I solve this?
you can add new configuration in configuration manager:
The difference between RAM and FLASH target is in Linker file. For your new configuration select linker script file for Flash target -
As a reference you can look at any example - almost all of them have both configurations (FLASH,RAM).
Hope it helps.
could you please post the debugger screen that indicates the executable has not been programmed into flash.
Please also check the debugger GDB serverv console - it should include information about the programmed sections and addresses.
from you screenshot it is obvious that your program is uploaded into Flash (and already present in Flash). There is probably some error in your project - it looks that you program ends in some exception. It is possible share your project?