I have a trinket MO which I must have downloaded one time because a very small program I installed seems to be working. I'm now trying to edit it and it will not download. It tries to download to Com11 then gives me an error that it's going to reset the COM to 1200 baud. Then the download hangs. I've tried 3 different ports and reset all the COM ports (11 in use according to Windows). I rebooted a number of times, and reinstalled the Adafruit drivers.
Now I have a different port to download to: COM3, but NOW I get an error "compiling for board Adafruit Trinket M0." Was never an error before. The program is simple: read an LDR on pin 0 (A0) and, based on value, output to LED on pin 4. Right now the program works but I can't access the Trinket to change it. I have trinket M0 selected for the board, in my Arduino IDE.
Ideas?
can't download trinket
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- queenidog
- Posts: 26
- Joined: Wed Jan 17, 2018 2:40 pm
Re: can't download trinket
Additional info...
Put same code in a Leonardo and it works every time. No issues.
Put same code in a Leonardo and it works every time. No issues.
- danhalbert
- Posts: 4649
- Joined: Tue Aug 08, 2017 12:37 pm
Re: can't download trinket
Get the Trinket M0 into bootloader mode. Do one of these two things:
1. Double-click the reset button so that the you get a pulsing LED on the board. Choose the appropriate port in the Tools->Port menu and make sure there's a checkmark next to it.
2. Double-click the reset button while the Arduino IDE is trying to download.
If you're still having trouble, let me know what version of Windows you're using.
1. Double-click the reset button so that the you get a pulsing LED on the board. Choose the appropriate port in the Tools->Port menu and make sure there's a checkmark next to it.
2. Double-click the reset button while the Arduino IDE is trying to download.
If you're still having trouble, let me know what version of Windows you're using.
- queenidog
- Posts: 26
- Joined: Wed Jan 17, 2018 2:40 pm
Re: can't download trinket
I did as suggested. Trinket on port 6 selected. Download...says it's downloading to port 6...then...Error
"No device found on port 6
Set binary mode
An error occurred while uploading the sketch"
Tried a couple times, including reset during the download.
"No device found on port 6
Set binary mode
An error occurred while uploading the sketch"
Tried a couple times, including reset during the download.
- danhalbert
- Posts: 4649
- Joined: Tue Aug 08, 2017 12:37 pm
Re: can't download trinket
Port 6 or port COM6? What version of Windows are you using?
- queenidog
- Posts: 26
- Joined: Wed Jan 17, 2018 2:40 pm
Re: can't download trinket
Sorry, I use port 6 and COM6 interchangeably. (I have Win10 x64)
I can't get this thing going reliably. Keeps changing ports and requires lots of reset button pushing. Whenever I think it's running, I download new code, and it doesn't work. Too bad, I was going to buy 1/2 dozen of these.
Leonardo? Works first time every time. Totally reliable.
I can't get this thing going reliably. Keeps changing ports and requires lots of reset button pushing. Whenever I think it's running, I download new code, and it doesn't work. Too bad, I was going to buy 1/2 dozen of these.
Leonardo? Works first time every time. Totally reliable.
Please be positive and constructive with your questions and comments.