Page 1 of 1

How to reset a Netburner in software?

Posted: Wed Apr 25, 2018 7:11 am
by lslarry86
I have a use case that requires me to reboot my Netburner remotely. What is the best way to do this in C?

I tried "strcpy(0, "REBOOT");" but that just dumped me to the boot loader. How can I reset my system so the application comes up fresh?

BTW I tried all the possibilities of Setup #9 in the boot loader - Reset, Reboot, Quiet Boot, and one or two others except Halt. They all booted the boot loader, not the application.

Thanks,
Larry

Re: How to reset a Netburner in software?

Posted: Wed Apr 25, 2018 10:33 am
by sulliwk06
I believe there is a ForceReboot() function in bsp.h

Re: How to reset a Netburner in software?

Posted: Wed Apr 25, 2018 1:12 pm
by lslarry86
sulli: Thank you. That worked perfectly, rebooting, exiting the bootloader after two seconds, and starting the application code.