Delay or getting stuck at deployment "Preparing to deploy assemblies to the device."
#1
Posted 02 March 2012 - 08:49 AM
#2
Posted 02 March 2012 - 09:51 AM
Edited by Magpie, 13 March 2012 - 11:10 AM.
- unexpectedly likes this
#3
Posted 02 March 2012 - 10:23 AM
I find it a bit tedious too, if it really doesn't want to cooperate
I pull out the usb
Tell VS to Deploy app
Wait 5 seconds
plug in the usb
Exactly ! ) I found out that's the best path after doing it 200,300 times. Very interesting that you found the same thing.
However, sometimes I have to do fail, cancel, retry. Yet other times even this gets %100 stuck and doesn't go forward after a minute.
Perhaps timing should be kinda accurately 5 seconds...
#4
Posted 02 March 2012 - 10:53 AM
#5
Posted 02 March 2012 - 11:16 AM
#6
Posted 02 March 2012 - 11:48 AM
I think (but I'm not really sure)
that by telling visual studio to download before the Netduino is powered, It gives an oppurtunity to catch the Netduino in the bootloader.
Otherwise if you dont catch it in the bootloader and if you have a certain type of bug in your code, possibly a very tight loop, you may somehow never give breathing space to the debug mechanism, to talk with VS via it's normal pins and/or give its thread enough time etc.
I agree with your assessment. I actually built into my menu on my ND+ a "Upgrade" item that stops the tight loop. This enabled the deploy to work reliably.
#7
Posted 02 March 2012 - 03:37 PM
#8
Posted 11 March 2012 - 07:09 PM
#9
Posted 13 March 2012 - 04:36 AM
I find it a bit tedious too, if it really doesn't want to cooperate
I pull out the usb
Tell VS to Deploy app
Wait 5 seconds
plug in the usb
What firmware are you using? I upgraded to 4.2 last night and now when I pull the usb plug out I get a Blue Screen of Death. This happening to anyone?
#10
Posted 13 March 2012 - 11:09 AM
#11
Posted 13 March 2012 - 05:40 PM
#12
Posted 15 March 2012 - 02:39 PM
#14
Posted 16 March 2012 - 09:33 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users