Loading...
Pages: [1]   Go Down
Author Topic: avrdude: usbdev_open(): did not find any USB device "usb" bug  (Read 2733 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 2
Posts: 138
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

switching between Programming modes bug, what happens:

if you have a sketch open for arduino i.e. ArduinoISP or TinyISP and have it set to AVRISP MKII then switch to another sketch that had Arduino as ISP set (for programing attiny for example), it will show Arduino as ISP chosen, but will cause error:

avrdude: usbdev_open(): did not find any USB device "usb"

fix: switch to any other prorgrammer, then back to arduino as ISP and error goes away.

it makes it look like arduino as ISP is chosen, but it really isn't somehow.
Logged

for(i = 0, i < 820480075, i++){ Design(); Code(); delay(1000); } // hellowoo.com

Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have exactly the error you describe trying to program an ATTINY 85 using the ArduinoISP.

It has been driving me nuts!

(Uno rev 3, Arduino  1.0.3, Win XP)

Too tired to try it now, I hope it works tomorrow!
Logged

I have made solvated electrons, but using them in electronics seems to be a bit different.

Denmark
Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It worked, selecting "Arduino as ISP" an toggling back and forth a couple of times got it working.

I managed to upload "Blink", and even though it reports:
Quote
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85

it is working as it should.

Thanks!
Logged

I have made solvated electrons, but using them in electronics seems to be a bit different.

Brisbane, Australia
Offline Offline
God Member
*****
Karma: 17
Posts: 812
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks hilukasz - I'd not seen this before, but your post saved a lot of my hair tonight I think.  It's not often I am doing both ATmega and ATtiny work simultaneously, but I am here and your explanation certainly makes sense based on my experience in the past hour.

Cheers ! Geoff
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

The solution in this post does not work for me. I am having the same problem but with different conditions:

I am trying to program a ATTINY25 with my UNO, using  http://code.google.com/p/arduino-tiny/

Uploading  ArduinoISP sketch was ok. Then programmed the Attiny25 with modified blink sketch...

All was apparently well, but led does not blink, and Arduino IDE shows both messages:

             Upload finished. (actually says "Carga terminada." because is in spanish)
and
             avrdude: usbdev_open(): did not find any USB device "usb"

Can anybody help me please?

Thanks in advance.

Roberto
Logged

Pages: [1]   Go Up
Print
 
Jump to: