So… I'm hoping to base a simple project on a Trinket M0 board (have built a couple of projects with Arduino Pro Micro and Nano boards, wanted something smaller for this).
It's a Trinket M0, and I'm using OS X (10.15.7) and Arduino IDE.
I followed these instructions for getting started with the board : https://learn.adafruit.com/adafruit-tri ... rduino-ide
So I believe I have installed the correct additional support, and I'm getting some communication with the board, in that Board Info shows me:
BN: Unknown board
VID: 239A
PID: 001E
SN: Upload any sketch to obtain it
But I am getting an error when I try to upload a sketch:
avrdude: stk500v2_ReceiveMessage(): timeout
Can anyone suggest what I'm missing/doing wrong here?
Error uploading sketch to M0, OS X/Arduino IDE
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- zogster
- Posts: 2
- Joined: Tue Jan 04, 2022 12:42 pm
- dastels
- Posts: 15658
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Error uploading sketch to M0, OS X/Arduino IDE
You have installed both Arduino AND Adafruit SAMD board support packages? Have you tried restarting Arduino after that. Also, have you verified that you have a data cable and not a power/charge one?
Dave
Dave
- zogster
- Posts: 2
- Joined: Tue Jan 04, 2022 12:42 pm
Re: Error uploading sketch to M0, OS X/Arduino IDE
Thanks Dave - that was very helpful. My first thought was "yes to all", but double-checking turned up the fact that I'd missed one of the support packages – all working now ;-)
- dastels
- Posts: 15658
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Error uploading sketch to M0, OS X/Arduino IDE
Excellent.
Dave
Dave
Please be positive and constructive with your questions and comments.