Hello,
When I use SDK examples with debug_ram, the error occurred and the code didn't implement normally after RESTART as below, could you explain about this symptom? Is it normal behavior?
Best regards,
Kate Lee
Hello Kate,
This behavior is due to the PEmicro firmware that all the EVBs have. When you click the restart button on the IDE the debugger is restarting the MCU hence you are losing the program since it's in RAM. As a workaround, you could change the firmware of the on-board debugger to JLink instead of PEmicro. The JLink debug configurations have an option to make the restart works even if you are running from RAM.
Have a great day,
Victor
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct"button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------