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 72 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 72 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 72 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: 18773
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 65 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 59 times

franklin97355
 
Posts: 18773
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

Please be positive and constructive with your questions and comments.