I'm trying to force a device reset on SAM4E, after I have erased the flash and reprogrammed. I am doing this from RAMFUNC because I need to replace the running program. I have tried calling exit(0) and to force a Watchdog Timeout, but neither is working because the original program is gone.
The newly loaded program works fine if I reset the device manually, but I need to be able to restart it via the program.
Is there a way to force a reset after I have cleared the program?
Discussion around product based on ARM Cortex M4 core.
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests