My case may be interesting in that the error output is somewhat different.
I use an official AtMEGA 2560 board with IDE 1.8.9. Everything worked fine until yesterday ( meaning successful uploads for several days)
Of course I still use the good port : COM6 for me (the only one that appears when I connect the board !)
Now I get that same message with windows 10, Linux Debian, two different machines and two different cables :
C:\Users\JP\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\JP\AppData\Local
\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega2560 -cstk500v2 -Pusb -Uflash:w:C:\Users\JP\AppData
\Local\Temp\arduino_build_978917/Blink.ino.hex:i
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\JP\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-
arduino17/etc/avrdude.conf"
Using Port : usb
An error occurred while uploading the sketch
Using Programmer : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
avrdude done. Thank you.
I am trying with the blink sketch here. I must add that since yesterday I succeeded uploading twice but failed innunmerable times. May it have some connection with recent avrdude updates ?
jptrol:
Too bad that the only suggested solution is to select the right port. Obviously my problem is very different with my config :
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
Maybe a faulty board ? Strange, since I get the informations from the board through the USB connection.
Your problem is caused by holding the Shift key while you click the Upload button. That causes the Arduino IDE to do an "Upload Using Programmer" instead of a standard Upload. Since you don't have an ISP programmer connected, that won't work, thus the error.
pert:
Your problem is caused by holding the Shift key while you click the Upload button. That causes the Arduino IDE to do an "Upload Using Programmer" instead of a standard Upload. Since you don't have an ISP programmer connected, that won't work, thus the error.
Thank you for your help Pert. Though I can't remember hitting the shift key or clicking the programmer option , the fact is that when I carefully select upload or CTRL U I now succeed every time I try. May it go on !
Thank you again.