I've searched high and low and cannot find an answer to this. How can I reboot my Go without having to physically unplug it every time? Sometimes I just want to restart the app and it seems like plugging/unplugging the USB all of the time is unneeded wear and tear. What am I missing?
reset/reboot go
Started by GregR, Aug 15 2012 04:02 AM
5 replies to this topic
#1
Posted 15 August 2012 - 04:02 AM
#2
Posted 15 August 2012 - 06:14 AM
you want to be able to reboot it in code?
PowerState.RebootDevice(false);Would that help?
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#3
Posted 15 August 2012 - 06:14 AM
Hi,
Here's an option: http://nwazet.com/power: flip the switch
Another option involves using a USB extension cable to alleviate the wear and tear on the micro USB socket.
Another option is to solder the NRESET pin on the 'JTAG' header (small through-hole connector on the board) to the onboard switch, then soldering the switch to ground using a 10K resistor. A cheap and effective hack...
-Fabien.
#4
Posted 15 August 2012 - 11:02 AM
Hi ibgregr,
Quick note: in the next Netduino Go firmware update, the pushbutton will act as a "reset" button when it's not being used as a GPIO. This should make Netduino Go consistent with the traditional Netduinos.
Right now you can add an event handler for the pushbutton in your code and then call the NETMF reboot class...that's a quick and dirty workaround.
Chris
#5
Posted 15 August 2012 - 01:05 PM
Thanks for all of the suggestions. I knew I could reboot via code but I want a way to do that physically. The main reason is that when I deploy a new app it does not automatically start running so when I am testing many small changes I am constantly having to unplug/plug the device. Is there a trick to getting the newly deployed app to autostart?
#6
Posted 15 August 2012 - 02:50 PM
Hi ibgregr,
Chris
The Netduino Go 4.2.0.1 update (using the WinUSB drivers from NETMF 4.2 QFE2) should help with this. The update should be posted soon (hopefully a bit later this month).Is there a trick to getting the newly deployed app to autostart?
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users