How to reset a Netburner in software?

Discussion to talk about software related topics only.
Post Reply
lslarry86
Posts: 24
Joined: Tue Jul 18, 2017 12:28 pm

How to reset a Netburner in software?

Post 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
sulliwk06
Posts: 118
Joined: Tue Sep 17, 2013 7:14 am

Re: How to reset a Netburner in software?

Post by sulliwk06 »

I believe there is a ForceReboot() function in bsp.h
lslarry86
Posts: 24
Joined: Tue Jul 18, 2017 12:28 pm

Re: How to reset a Netburner in software?

Post by lslarry86 »

sulli: Thank you. That worked perfectly, rebooting, exiting the bootloader after two seconds, and starting the application code.
Post Reply