After downloading a Simulink-generated elf file to the DEVKIT-MPC5748G using S32DS for Power Architecture the loaded app runs, but only until a power cycle. After a power cycle the board goes into reset escalation and doesn’t leave with the red reset LED on continuously forever. Yes, downloading over serial from Simulink resolves the problem, but with the downsides of much longer download times, and the need to have Simulink on the computer that does the downloading. The problem probably resides in the flash algorithm.
This problem may be the same as the problem described in the thread “DEVKIT-MPC5748G Download Error”.
Can a solution be found?
Solved! Go to Solution.
Hello @ranulf
My guess is that this behavior is related to the linker file, which is modified to work with the RAppID Bootloader. The next steps describe how to generate code using different linker files.
Hope this helps,
Marius
Thank you, @mariuslucianand, but I accepted the solution too soon. After I loaded the code it started running, but when I power-cycled the board the app did not run. It didn't go into reset escalation, however. That's different from before.
Hello @ranulf
My guess is that this behavior is related to the linker file, which is modified to work with the RAppID Bootloader. The next steps describe how to generate code using different linker files.
Hope this helps,
Marius