I'm using MPC57XX. My program work correctly (tested in debug), but how to burn a progrgam to MCU without in debug mode and do not need to reload the program after power on again.
Solved! Go to Solution.
Hello Eva,
The Debug build/debug configuration loads the code into the flash memory in contrast to Debug_RAM which needs to be reloaded after reset.
Please check this link for more information about the different build configurations available:
https://community.nxp.com/message/912831?commentID=912831#comment-912831
If your code is not running properly after reset/POR this is typically caused by Watchdog or any other setup done by debugger script.
Which MCU are you targeting and which version of S32DS are you using?
Could you possibly attach the project if it does not work?
Regards,
Stan
Hello Stan,
Thanks for your anwser,what you said is very detailed.I use MPC5775K and S32DS v1.1.I have another problem,how could I know the used flash size after building?
Regards,
Eva
Hi Eva,
Please have a look here:
How to calculate Flash and RAM size
https://community.nxp.com/message/897643
Hope it helps.
Stan
Hello Eva,
The Debug build/debug configuration loads the code into the flash memory in contrast to Debug_RAM which needs to be reloaded after reset.
Please check this link for more information about the different build configurations available:
https://community.nxp.com/message/912831?commentID=912831#comment-912831
If your code is not running properly after reset/POR this is typically caused by Watchdog or any other setup done by debugger script.
Which MCU are you targeting and which version of S32DS are you using?
Could you possibly attach the project if it does not work?
Regards,
Stan