0

can't upload to Trinket M0
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

can't upload to Trinket M0

by Piewyem on Fri Feb 08, 2019 11:36 am

hi,
i have been trying for a couple of hours now where i can't upload to the trinket with IDE.
when i try to upload a sketch it says:
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
i have followed the tutorials on the adafruit site but can't get it to work. it has run with arduino before on a other machine but i can't figure out how to get it working!
please help

Piewyem
 
Posts: 2
Joined: Fri Feb 08, 2019 11:30 am

Re: can't upload to Trinket M0

by adafruit_support_carter on Fri Feb 08, 2019 1:17 pm

Make sure it's actually a Trinket M0:
https://www.adafruit.com/product/3500
and not the older Trinket:
https://www.adafruit.com/product/1501

What board are you selecting in Arduino?

adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Re: can't upload to Trinket M0

by Piewyem on Fri Feb 08, 2019 2:06 pm

it's a trinket M0
and i am selecting adafruit trinket (ATtiny @8MHz)
and i also have programmer set to usbtinyISP

Piewyem
 
Posts: 2
Joined: Fri Feb 08, 2019 11:30 am

Re: can't upload to Trinket M0

by adafruit_support_carter on Fri Feb 08, 2019 3:28 pm

That's the selection for the older Trinket. You want the newer one. Make sure you've installed the SAMD support:
https://learn.adafruit.com/adafruit-tri ... -ide-setup
https://learn.adafruit.com/adafruit-tri ... rduino-ide

And then select Adafruit Trinket M0 from the boards list.

adafruit_support_carter
 
Posts: 9792
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.