Author Topic: USB Device Not Found  (Read 7321 times)

drodgers

  • Newbie
  • *
  • Posts: 3
USB Device Not Found
« on: January 07, 2013, 08:00:59 pm »
I just got my digisparks yesterday and they're great, but I'm having a problem connecting to programs via usb.

Even using the built in DigiRGB or DigiBlink exmples, I get a 'Device not found' Exception from the python code (either running in IDLE or from the provided executable).

I can see the digispark with device manager (it has the same hardware IDs that the python script uses), so I know that the DigiUSB code is running.

All I did to install pyusb was 'pip install pyusb' (which gave me version 1.0.0a3). I've tried restarting since the install. I've also tested on two computers without success (Windows 7 & Windows 8, both x64).

Has anyone else had these issues? Was there something I missed when installing pyusb?

Thanks.
« Last Edit: January 07, 2013, 08:00:59 pm by drodgers »

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
USB Device Not Found
« Reply #1 on: January 07, 2013, 08:38:15 pm »
If this is Windows: Have you installed the driver in the DigiUSB folder? Different form the bootloader driver.


drodgers

  • Newbie
  • *
  • Posts: 3
USB Device Not Found
« Reply #2 on: January 07, 2013, 09:38:59 pm »
That was it! Thanks!

fallahi

  • Newbie
  • *
  • Posts: 3
USB Device Not Found
« Reply #3 on: January 09, 2013, 11:55:27 pm »
I am sorry, I am new to this.  Where do I find the proper driver for Digispark and which board I need to choose from Tools -> Board menu.  

Thanks,

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
USB Device Not Found
« Reply #4 on: January 10, 2013, 12:02:38 am »
@fallahi

If you haven\'t yet checkout the wiki: http://digistump.com/wiki

select
Tools->Board->Digispark (Tiny Core)

and select
Tools->Programmer->Digispark (Tiny Core)

If you are using windows the driver is inside the folder that you downloaded, in the Digispark - Windows Driver folder.

This and much more is covered in the wiki linked above.

Thanks,
Erik

fallahi

  • Newbie
  • *
  • Posts: 3
USB Device Not Found
« Reply #5 on: January 10, 2013, 12:47:34 am »
Yes, I was missing the Wiki link.  That helped a great deal.  Thank you.  (It might be a good idea to add the link \"wiki\" to the digistump.com main page)  

Now I have another problem.  I was able to compile and change the blinking rate and upload and it did work fine.  Now I was trying the USB echo, and it did compile and upload fine, however, when I run Monitor.exe, it tells me the digiUSB was not detected.  However the device \"DigiUSB\" is detected in Control Panel.  

I am using Win 8.  

fallahi

  • Newbie
  • *
  • Posts: 3
USB Device Not Found
« Reply #6 on: January 10, 2013, 01:06:43 am »
Found the driver.  It was sitting in:

D:\\Users\\Siavash\\Desktop\\arduino-1.03-win-digispark-2013-01-05\\Digispark Ready - Arduino 1.03\\Digispark - Example Programs\\DigiUSB\\windows driver

Thanks for all you help.  

isnogud77

  • Newbie
  • *
  • Posts: 5
Re: USB Device Not Found
« Reply #7 on: January 30, 2013, 12:36:39 pm »
I have the same problem on my both Macs (iMac and MB). The digispark is detected and correctly listed in the system info. DigiUSB->Echo is successfully uploaded but I still get this message.
Any idea what could be wrong?

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: USB Device Not Found
« Reply #8 on: January 30, 2013, 01:37:04 pm »
isnogud77 - which script/demo program are you trying to run? If it is one of the python scripts you might need to install pyusb. If it is the monitor.app then you might need to run it as root or something like that. Also check out the ruby gem for Digispark since you are on Mac that might be a faster start.

isnogud77

  • Newbie
  • *
  • Posts: 5
Re: USB Device Not Found
« Reply #9 on: February 03, 2013, 01:05:10 am »
I tried the send.py and the monitor.app. I had pyusb installed according to the instructions in the readme and that looked fine.
I tested the  monitor.app now with sudo and got the following error:
Code: [Select]
LSOpenURLsWithRole() failed with error -10810 for the file /Users/moritz/Downloads/Mac/Digispark Ready - Arduino 1.03/Digispark - Example Programs/DigiUSB/mac/monitor.app.Withe the ruby gem it works fine.