Dear all,
I have a MPC5748G-LCEVB board, and I wrote a very simple SDK-based code on S32DS which after running it, one of the LEDs on the board will start blinking every 0.5 seconds.
This code works well when I connect the board to my computer with JTAG, then choose the debug_RAM in build code (hammer icon), then choose the debug_RAM file in Debug Configuration (green bug icon), then press the "play" button.
But I want the code to run even after switching off and then on the power of the evaluation board. Therefore, after choosing the debug_FLASH in build code (hammer icon), then choosing the debug_FLASH file in Debug Configuration (green bug icon), and press the "play" button, the code ran well (LED is blinking), too.
However, after turning off the power of the board and then turning it back on, the LED on the board stops blinking, which I supposed the code have been erased. I thought after burning the code in debug_FLASH mode means even if the power of the board is off then on, the code will still run (the LED will still blink).
Since I am a beginner here, is there a step by step tutortial on how to burn code into the board and still works after turning off the power and back on?
BRs,
June Hsiao