AnsweredAssumed Answered

Debugging RAM program with PE Micro Multilink

Question asked by Joshua Mitchener on Jan 24, 2019
Latest reply on Jan 30, 2019 by Alexis Andalon

I'm having trouble debugging my RAM program with the PE micro multilink tool.


If there is nothing written to flash, it will enter debug mode with the green play button grayed out.


When I hit pause, nothing happens because I don't think that the program is running, and I also have to force close gdb server in task manager.


When I enter debug for my ram program, and there is something written to flash, it will work properly.


After doing some digging I found this in the MCUXpresso manual:  "Since an MCU will not automatically boot from RAM, a scheme is needed to take control of the debuggers reset mechanism"


There is a soft reset and there is also a kinetisRamReset.scp file but this can only be used in LinkServer Debug mode.


How can I have the flash erased, load my program into RAM, and have it start using the PE multilink tool?


Is there a certain configuration setup needed to run RAM programs with the PE tool I am not aware of?


Any Ideas?