0

avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by royjackson419 on Tue Sep 04, 2018 5:14 pm

To add to my prior post, when i look at what windows explorer sees on the GEMMA M0 device, I see a folder called GEMMABOOT with a file called INFO_UF2.txt, with the contents:

UF2 Bootloader v2.0.0-adafruit.0-3-gc91ce29 SFHWRO
Model: Gemma M0
Board-ID: SAMD21E18A-Gemma-v0

royjackson419
 
Posts: 5
Joined: Sun Sep 02, 2018 8:33 pm

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by royjackson419 on Tue Sep 04, 2018 6:13 pm

I deleted and uninstalled all drivers related to what was been installed per:
https://superuser.com/questions/597370/ ... riverstore

Then, I right clicked "\adafruit_drivers\Drivers\USBtinyISP\USBtiny.inf", and chose install.
Gemma Add Legacy Hardware.JPG
Gemma Add Legacy Hardware.JPG (61.26 KiB) Viewed 172 times

Then, I used device manager, to Add Legacy Hardware, and pointed the driver to the Adafruit USBTinyISP folder.
Gemma Add Hardware Type.JPG
Gemma Add Hardware Type.JPG (38.94 KiB) Viewed 172 times

Now, my gemma shows up with the correct name, but I still get the same error in avrdude / arduino IDE
Gemma Add Hardware USBTiny.JPG
Gemma Add Hardware USBTiny.JPG (39.95 KiB) Viewed 172 times

avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

Thought I was on cusp of breakthrough!

royjackson419
 
Posts: 5
Joined: Sun Sep 02, 2018 8:33 pm

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by franklin97355 on Tue Sep 04, 2018 6:42 pm

In the screenshot of the IDE you have the Gemma ATtiny85 selected no a Gemma M0.

franklin97355
 
Posts: 19244
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by royjackson419 on Tue Sep 04, 2018 7:29 pm

@franklin97355

I do not see an option for Gemma M0 under boards - am I missing something?
Arduino board options.png
Arduino board options.png (136.92 KiB) Viewed 165 times


Thank you

royjackson419
 
Posts: 5
Joined: Sun Sep 02, 2018 8:33 pm

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by franklin97355 on Tue Sep 04, 2018 8:06 pm

Look further down the list to the Adafruit SAMD Boards section.
Attachments
2018-09-04_17h04_13.png
2018-09-04_17h04_13.png (21.12 KiB) Viewed 159 times

franklin97355
 
Posts: 19244
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by royjackson419 on Tue Sep 04, 2018 8:40 pm

@franklin97355

After installing Arduino SAMD boards, as well as Adafruit SAMD boards, I hit upload, and then after it compiled I double tapped the reset button to get into bootloader mode, the upload finally worked.

When the Arduino SAMD boards are not installed, you get a Java error saying bossac could not be found.

But thank you very much for the help, with these changes the code uploaded and is finally working.

royjackson419
 
Posts: 5
Joined: Sun Sep 02, 2018 8:33 pm

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by aprylisnow on Sat Oct 27, 2018 1:17 pm

stephenhow wrote:I ran into this problem, where I got the "Could not find USBTiny device (0x1781/0xC9f)" message. Of course, it was my fault. I got the Blink example to load correctly through the FTDI Friend on my Mac OS X Yosemite running the Arduino 1.6.5 IDE by following https://learn.adafruit.com/introducing- ... using-ftdi

(I installed the FTDI VCP drivers from http://www.ftdichip.com/Drivers/VCP.htm)
selected Tools>Board>Pro Trinket (FDTI) [note: select the FTDI and not the USB version]
selected Tools>Port>"/dev/cu.usbserial-AH0331XQ"
selected Tools>Programmer>USBtinyISP

But, I noticed I have to power cycle the Trinket before each upload.


After trying everything suggested, this is what ended up working for me. Thank you so much!

aprylisnow
 
Posts: 1
Joined: Mon Oct 22, 2018 12:46 pm

Re: avrdude: Error: Could not find USBtiny device (0x1781/0x

by Clawbeast on Wed Oct 31, 2018 1:14 pm

Also having the same issue. Having an issue that board is identified correctly, programmer is USBtinyISP and have the same under device manager. However despite hitting the reset to load a sketch (via USB) keep getting the following error:

Arduino: 1.8.6 (Windows 10), Board: "Pro Trinket 5V/16MHz (USB)"
Build options changed, rebuilding all
Sketch uses 942 bytes (3%) of program storage space. Maximum is 28672 bytes.
Global variables use 9 bytes of dynamic memory.
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
Tried all the obvious, uninstall and reinstall drivers. Swap cables in case they are power only and not data. Even tired different machine and through a hub. So before I get an FTDI cable and try that route instead anyone have any suggestions?
Attachments
45054081_10156959449813243_605683473562206208_n.jpg
45054081_10156959449813243_605683473562206208_n.jpg (37.49 KiB) Viewed 41 times

Clawbeast
 
Posts: 3
Joined: Wed Oct 31, 2018 1:13 pm

Please be positive and constructive with your questions and comments.