Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

reset/reboot go


  • Please log in to reply
5 replies to this topic

#1 GregR

GregR

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationKeller, Tx

Posted 15 August 2012 - 04:02 AM

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?

#2 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

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

#3 Fabien Royer

Fabien Royer

    Advanced Member

  • Members
  • PipPipPip
  • 406 posts
  • LocationRedmond, WA

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 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

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 GregR

GregR

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationKeller, Tx

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 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 15 August 2012 - 02:50 PM

Hi ibgregr,

Is there a trick to getting the newly deployed app to autostart?

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).

Chris




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.