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

Hints, Tips and Workarounds for Deployment Problems


  • Please log in to reply
1 reply to this topic

#1 rhamer

rhamer

    Member

  • Members
  • PipPip
  • 29 posts
  • LocationMelbourne Australia

Posted 15 June 2012 - 12:14 AM

I have started this thread as a place to gather any wisdom regarding the dreaded deployment problems plaguing the Netduino. These problems are extremely frustrating, and so any ideas would be greatly appreciated. So, if you have discovered a way of bringing your Netduino back to life, or even better, stopping the problem all together, then please share it here. For the record I have tried typing "plugh" and "xyzzy" to no avail (one for the old timers) :-) My particular problems are the BSOD and failing to deploy. so far the only guaranteed solution is to do the following; 1 Cancel the deployment. 2 Unplug the USB. 3 Power down the project (my Netduino is a mounted as a sub board to a larger PCB that also powers it) 4 run mfdeploy 5 plug in USB 6 erase current programming (this is a few steps in mfdeploy) 7 if still not working, shutdown VS2010 (sometimes this gives BSOD) 8 if still not working reboot PC. Regards Rohan

#2 Arbiter

Arbiter

    Advanced Member

  • Members
  • PipPipPip
  • 132 posts
  • LocationBrisbane, Australia

Posted 15 June 2012 - 04:56 AM

Declare a global flag APP_RUN and initalise it to true. Write your loops and timer handlers to exit when APP_RUN goes false, and attach a handler to the built-in button so you can set APP_RUN to false by pressing the button. This will give you a physical stop button for your application. You will find that if you stop your application first, deployment will be fast and reliable.
One day, all this too shall parse.




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.