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

Solution deploy failures for VM users


  • Please log in to reply
4 replies to this topic

#1 teachop

teachop

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 15 May 2011 - 01:27 PM

I don't have much success with deploy / debug using VirtualBox. I have several possible problems crop up, and then sometimes it does manage to work. The intermittent problems are: 1) The very first deploy after starting Visual C# cause it to crash and terminate. 2) "Preparing to deploy assemblies to the device" gets stuck. Have to jack the Netduino. 3) "The debugging target is not in an initialized state, rebooting..." gets stuck. Have to jack the Netduino. My setup is Netduino Plus 4.1.0.6, Visual C# 2010 Express, Windows XPsp3, VirtualBox 4.0.6, all on Ubuntu 11.04 host. I have tried two Netduino Plus boards, they do the same thing, I have tried different software versions on the Netduino also. Are these problems only VirtualBox? Does anybody have workable development in VirtualBox?

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 15 May 2011 - 04:10 PM

Hi teachop, We've been using VirtualBox here for testing and haven't run into any issues. Some of the VMs can be finicky (especially about unplugging and reattaching devices), but overall we've found a way to "work" with the different ones. If you press the reset button on your Netduino Plus when "rebooting..." gets stuck, does that fix the VM deployment problem for you? Chris

#3 teachop

teachop

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 15 May 2011 - 05:32 PM

If you press the reset button on your Netduino Plus when "rebooting..." gets stuck, does that fix the VM deployment problem for you?

Not really. I tried 4 times just now, each stuck at the rebooting... message, and then I pressed the reset button.

The reset button caused the new version of the program to start after a few seconds, but Visual Studio was still stuck at rebooting... message.

After the reset button test, I then jacked the USB, and each time it went into the debugger from there.

#4 Michel Trahan

Michel Trahan

    Advanced Member

  • Members
  • PipPipPip
  • 155 posts

Posted 15 May 2011 - 05:41 PM

Have you tried this technique to reset ?
Started with C in 1985, moved to Vb3 ... to vb6 and stopped. Now started with .Net and learning C# and VB.net and wishing VB.net was on MF !

#5 teachop

teachop

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts

Posted 15 May 2011 - 05:58 PM

Have you tried this technique to reset ?

Well, I have netduinos that have been 100% erased, including sometimes the bootloader being replaced, many times. I have one hooked up right now that is "factory fresh" with no messing about at all. And I have tried lots of things in between, including most all the pre-release software images. The first one I got has the little erase pad about worn out!

I am uncertain exactly what that linked procedure is trying to do. I am suspecting the board doesn't need reflashed or erased, it is working fine. The problem is Visual Studio under VirtualBox hangs between the deploy and entering the debugger, apparently due to some kind of failed handshake with the Netduino, but that is a guess. Jacking the board allows it to go into the debugger and things proceed from there.

To date, most of my Netduino time has been running FreeRTOS on the little things. But I wanted to get back to trying the C#/.NET stuff and maybe learn something. So far, using VS in VirtualBox has resulted in a less than reliable development cycle. I am sure there are very few of us, wanting to use VirtualBox under Linux...

EDIT: I should also point out that this is functioning well enough to do development, it is just an additional step is needed to jack the board.




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.