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

USB Device not Recognized


  • Please log in to reply
38 replies to this topic

#21 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 21 August 2010 - 03:27 AM

no. i do not. had i known i would need one, i would have ordered one. :)

#22 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 21 August 2010 - 08:16 AM

i found this: http://www.robotshop...tm_campaign=jos - but i'm not sure what good that would do me. are there specialized usb to ttl cables for arduinos? also, if the device is recognized in windows (under vmware) when it has been reset, doesn't that seem to indicate there's a bug in your driver?

#23 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 21 August 2010 - 08:47 AM

gah. i'm half tempted just to get the competitive upgrade of parallels. it's going to be damn near as expensive to go get a cable or an rs232 shield. :( the fact that it's recognized in windows when i clear the chip though is frustrating. makes me think that your driver is just wack.

#24 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 August 2010 - 12:23 PM

i found this: http://www.robotshop...tm_campaign=jos - but i'm not sure what good that would do me. are there specialized usb to ttl cables for arduinos?


Yes, as long as that cable works with VMWare Fusion (and it probably does), you should be good to go.

also, if the device is recognized in windows (under vmware) when it has been reset, doesn't that seem to indicate there's a bug in your driver?


We're using the open source USB firmware and driver provided by Atmel and Microsoft. It's quite possible that there's a limitation in one or the other regarding re-enumeration under certain VM software. We tested Mac support extensively before launch to make sure we set good expectations...and behind the scenes we're working with various parties to expand that support. Parallels works. With VMWare, it's most likely an implementation issue with the Atmel chip, the Atmel USB firmware/NETMF runtime, or the NETMF drivers--but it also relates to how VMWare Fusion handled USB devices. I'll keep you posted here as more develops regarding expanding VM support... Thanks for your enthusiasm, and for your patience.

Chris

#25 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 21 August 2010 - 04:47 PM

1) how would that cable hook up to my netduino? 2) if i boot straight into windows, should i be able to get it to work? e.g. do i need that cable to use MFDeploy and put the regular firmware on it?

#26 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 21 August 2010 - 06:00 PM

1) how would that cable hook up to my netduino?


You'd use three jumper wires. Hook the GND to one of the Netduino's GND pin headers. And then hook the TX and RX lines to the D0/D1 pins (PC's TX is Netduino's RX and vice-versa).

2) if i boot straight into windows, should i be able to get it to work? e.g. do i need that cable to use MFDeploy and put the regular firmware on it?


Absolutely. You can re-erase your Netduino and flash the regular firmware on it and use it from Windows without any troubles at all. Netduino is 100% open source, so we've provided ways to tear down, rebuild, and reflash pretty much anything you'd like.

Thanks again for your enthusiasm. We'll continue looking into providing VMWare Fusion "USB" support for you...

Chris

#27 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 21 August 2010 - 06:08 PM

ok. i'm going to boot into winblows and try and reflash it from there. hopefully it'll recognize. shoot, recognize.

#28 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 21 August 2010 - 09:55 PM

i went into windows, ran MFDeploy and deployed those two files from the latest firmware, but it gave me this: Ready. Cannot find any entrypoint! Done. after deploying, what's the story with that? also, i went into vs after that deployed my app (just the standard blinky one), but it didn't do anything, i assume it's because the firmware didn't get deployed correctly.

#29 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 21 August 2010 - 10:21 PM

unplugged, replugged, it blinks! which tells me, that unlike the deploy tool on arduino/wiring, this deploy doesn't reset the device afterwards. should we bug that with M$?

#30 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 August 2010 - 12:29 AM

i went into windows, ran MFDeploy and deployed those two files from the latest firmware, but it gave me this:

Ready.
Cannot find any entrypoint!
Done.


after deploying, what's the story with that?


"Cannot find any entrypoint" means that there's no app on the Netduino. This is .NET Micro Framework says when it's been newly flashed and there is no app (no entrypoint) on the device.

#31 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 August 2010 - 12:32 AM

unplugged, replugged, it blinks!

which tells me, that unlike the deploy tool on arduino/wiring, this deploy doesn't reset the device afterwards.

should we bug that with M$?


SAM-BA doesn't reboot the device after deploying TinyBooter (the bootloader), but MFDeploy should reboot the device after deploying an upgrade. If it doesn't, go ahead and reboot the device...but that should be the exception and not the rule.

If we can find a way to reproduce that, we'll be happy to debug it. Also, we're working on a custom (open source) reflashing tool which does away with the requirement to use SAM-BA if you erase your Netduino and replaced MFDeploy for upgrading as well. It's still good to know how to do it the manual way, I suppose...

It sounds like your Netduino is up and running. Sorry for any troubles you have had along the way, and thanks for your patience.

Chris

#32 bryancostanich

bryancostanich

    Advanced Member

  • Administrators
  • 62 posts

Posted 22 August 2010 - 01:15 AM

oh man, please, please, throw some dev cycles at getting this to work with VMWare. i don't know how long i can stand to be booted only into windows.

#33 iksdrijf

iksdrijf

    New Member

  • Members
  • Pip
  • 2 posts

Posted 22 August 2010 - 11:21 AM

I am also getting a "USB Device not Recognized" message in XP on VirtualBox on a Linux host. I know VMWare is not supported via USB. Does anyone know if VirtualBox is usable via USB?

#34 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 22 August 2010 - 01:55 PM

I am also getting a "USB Device not Recognized" message in XP on VirtualBox on a Linux host. I know VMWare is not supported via USB. Does anyone know if VirtualBox is usable via USB?


Oracle VirtualBox is going to require using a serial solution. We tested a number of USB peripherals with VirtualBox and didn't have much luck. Which is a bummer, since VirtualBox is free.

From the Netduino tech specs:
Oracle VirtualBox
Serial deployment supported
Requires copy of Windows in virtual machine

Have you been able to get other USB devices to work under VirtualBox? If we can find a way to support the .NET MF drivers and Netduino under VirtualBox, we'd love to support it too...

Chris

#35 iksdrijf

iksdrijf

    New Member

  • Members
  • Pip
  • 2 posts

Posted 22 August 2010 - 05:47 PM

Oracle VirtualBox is going to require using a serial solution. We tested a number of USB peripherals with VirtualBox and didn't have much luck. Which is a bummer, since VirtualBox is free.

From the Netduino tech specs:
Oracle VirtualBox
Serial deployment supported
Requires copy of Windows in virtual machine

Have you been able to get other USB devices to work under VirtualBox? If we can find a way to support the .NET MF drivers and Netduino under VirtualBox, we'd love to support it too...

Chris

Thanks for your quick reply. Yes, I have a USB camera which is recognized by the XP guest and the driver is downloaded and installed automatically.

#36 jeremy

jeremy

    Member

  • Members
  • PipPip
  • 23 posts

Posted 22 August 2010 - 09:26 PM

Yes, as long as that cable works with VMWare Fusion (and it probably does), you should be good to go.



We're using the open source USB firmware and driver provided by Atmel and Microsoft. It's quite possible that there's a limitation in one or the other regarding re-enumeration under certain VM software. We tested Mac support extensively before launch to make sure we set good expectations...and behind the scenes we're working with various parties to expand that support. Parallels works. With VMWare, it's most likely an implementation issue with the Atmel chip, the Atmel USB firmware/NETMF runtime, or the NETMF drivers--but it also relates to how VMWare Fusion handled USB devices. I'll keep you posted here as more develops regarding expanding VM support... Thanks for your enthusiasm, and for your patience.

Chris


I've seen this with other devices. VMWare needs to enumerate the device twice. The first time is to enumerate the device as a VMWare USB device on the host OS. The second time is when it enumerates on the guest OS.

Some devices do not emuerate the second time and come up as "Not Recognized" because no PID or VID was read. My guess is the MS firmware does not enumerate the second time.

Sadly I don't know enough about the USB stack internals to make any useful comments.

#37 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 28 August 2010 - 04:01 AM

We've been working on VMWare Fusion and Oracle VirtualBox support. We've posted a pre-release "alpha" firmware update with limited support.

http://forums.netduino.com/index.php?/topic/225-netduino-firmware-v410-patch-3-alpha/

[update: newer beta firmware]
http://forums.netdui...patch-3-beta-2/

Please note that this update is "alpha". To us, beta means "works well, but may have bugs and may not be complete." Alpha means "for early adopters, may not work and you may need to go through some technical procedures to erase and reflash with earlier firmware."

We're running on it exclusively here and having great success. Your results may vary.

Chris

#38 Marc

Marc

    New Member

  • Members
  • Pip
  • 1 posts

Posted 04 September 2010 - 07:58 PM

We've been working on VMWare Fusion and Oracle VirtualBox support. We've posted a pre-release "alpha" firmware update with limited support.

http://forums.netdui...-patch-3-alpha/

Please note that this update is "alpha". To us, beta means "works well, but may have bugs and may not be complete." Alpha means "for early adopters, may not work and you may need to go through some technical procedures to erase and reflash with earlier firmware."

We're running on it exclusively here and having great success. Your results may vary.

Chris



When I click on this link I am told that I don't have the proper credentials. Is this the correct path? I am a registered user. Thanks.

#39 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 05 September 2010 - 07:59 PM

When I click on this link I am told that I don't have the proper credentials. Is this the correct path? I am a registered user. Thanks.


Hi Marc,

The firmware was updated and is now at "beta" status. Sorry, we're a bit too quick sometimes :)

Here's the updated link:
http://forums.netdui...patch-3-beta-2/

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.