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

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.

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!

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:

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!

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

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 Google Code Archive - Long-term storage for Google Code Project Hosting.

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

Sometimes you have to do some more zigzagging to get it to work again. I use ardweenys a LOT here for their low cost, and I find this problem somewhat frequently when I'm in a hurry. After I hit upload, I tend to turn on the serial monitor. (which always turns off and closes when you upload??) When the upload finishes, it reboots the ardweeny. But when you turn on the serial monitor, it reboots it AGAIN. If these reboots happen too close to each other, (turn on the serial monitor within 1 sec of the upload finishing because you are impatient) it often causes the serial port driver to jam up and you get this message when you try to upload.

Sometimes trying again fixes it. Sometimes quitting the IDE and relaunching fixes it. Sometimes it just plain gets STUBBORN and you have to get more drastic. I was just rebooting my computer, and that always worked, but I've found a faster way. Open your serial select and note which one is checked. Quit the IDE. Unplug your serial adapter. Relaunch the IDE. Select a serial. Your serial interface will not be listed, nothing will be checked. Select something else. (may need to select something very different, mine is a /dev/cu, so I select a /dev/ty) and try to upload. It will fail. Quit the IDE. plug back in your adapter. Relaunch IDE. Re-select your serial adapter. Should work now.

(If not, you are probably going to have to reboot your computer to reset the serial driver)

And to avoid the problem, avoid rebooting your arduino over serial WHILE it is already in the process of rebooting.
(this could also be caused by hitting upload a second time while an upload is in progress, I haven't tested it that heavily)

I was having similar problems. I am running Arduino IDE 1.6.x. and I am trying to program to an ATTINY 85

The problem was fixed once I selected:

Tools > Board > ATTINY
Tools > Programmer > Arduino as ISP
Tools > Processor > ATTINY 85

Cross my fingers the problem doesn't come back :wink:

Hi, I have a similar problem when I try to burn bootloader it says:

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

but when I try to upload sketch using programmer it uploads without any problem.

Can anybody help me please?

Thanks in advance.

Nice guys~ fix my problem please.

I have the same problem with Mega 2560.
tested with three different computers, and 5 boards, and always getting same error words; avrdude: usbdev_open(): did not find any USB device "usb"

I'm almost burned out to find solution to dissolve this error for days.


so I have tried AVR studio to burn bootloader to 2560, and 16u2 because sketch can't upload. unfortunately AVR studio with Arduino IDE can't be successful to compile sketch file.

kindly show me how to do....

I have the same problem

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

But it's because I programmed Python to use the AutoHotKeys to open and upload a program into the Arduino Uno.

Any suggestions?

Thank you so much!

If you have Atmel Studio installed, the driver for the programmer may have updated to one that does not work with Arduino. Go to Windows device manager properties and find the AVRISP mkII. Right click it for properties and click the Driver tab. Click the Roll Back Driver button to revert back to the older driver. In my case this reinstalled the libusb-win32 device. This fixed my "did not find issue"

This really was the issue with my Uno (post of dougJack). I have installed Atmel Studio and somehow that have broken my AVRISP mkII drivers.

However, my solution was to follow this guide to flash the bootloader via Atmel Studio: Burning the Bootloader to an Arduino Uno using Atmel Studio and the AVRISP mkII

This is a REALLY old bug. I first reported this back in 2011.
Regardless what many people have said including the main avrdude developer, this
is an issue created by avrdude and can and should be solved in avrdude.
I even came up with the avrdude patch to fix it. (it is only a couple of lines of code)

It can be fixed in avrdude or worked around in the IDE, but after pushing on and lobbying both sides for many years, I have not been able to get either side to either fix it or work around it.

Here is more reading about it:

http://forum.arduino.cc/index.php?topic=316061.msg2224817#msg2224817

The ultimate irony is that the issue only shows up for Atmel made products like AVR dragon, and AVRISP MKII

--- bill

dpereztaylor:
Hi, I have a similar problem when I try to burn bootloader it says:

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

but when I try to upload sketch using programmer it uploads without any problem.

Can anybody help me please?

Thanks in advance.

Hello did you found any solutions?? actually i did find one once but then i forgot and now i am facing problems again and cant remember the solution , and like a fool didn't either note it so please help if you have any solutions.

@babusheetal

Resurrecting a many year old thread is not a good idea.

Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum.

A post was split to a new topic: "not in sync" error, "L" LED blinking frantically

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.