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.
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:
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?
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?
Please have a look here:
How to calculate Flash and RAM size
How to find the size of every .c file in .map file about S32DS?
Hope it helps.
Retrieving data ...