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?
How to force a device reset?
Post
Re: How to force a device reset?
Have you tried writing to the Reset Controller Control Register?
Return to “SAM4 Cortex-M4 MCU”
Who is online
Users browsing this forum: Google [Bot] and 4 guests