Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: reinierdevlaam on Nov 22, 2016, 10:15 pm

Title: can't upload sketch to pro-trinket
Post by: reinierdevlaam on Nov 22, 2016, 10:15 pm
I have this strange problem I can't solve...
I connect my Arduino pro trinket to and USB port with the mini-USB adapter. When I connect it the red led starts flashing, indicating bootload mode.
(http://reinierdevlaam.nl/disp-3.jpg)



However the IDE can't connect for some reason. All it sees is COM1
(http://reinierdevlaam.nl/disp-2.jpg)



if I connect the Arduino to the USB, a USBtiny device appears in my devices
(http://reinierdevlaam.nl/disp-1.jpg)
but no COM3 4 or 5

I'm using windows 10 now, can't rememeber any similar problem when I was still at win7. I reinstalled the environment (even upto 1.6.13 now) and board drivers to no avail....

Am I missing something?
Title: Re: can't upload sketch to pro-trinket
Post by: reinierdevlaam on Nov 22, 2016, 11:22 pm
after a while I get

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x99

RESP sometimes is 9f
Title: Re: can't upload sketch to pro-trinket
Post by: dmjlambert on Nov 23, 2016, 12:54 am
You need to search for and read the getting started guide for the Pro Trinket on Adafruit's website.   A Pro Trinket is not the same as Arduino Pro or Pro Mini, so you are selecting the wrong board.   
Title: Re: can't upload sketch to pro-trinket
Post by: reinierdevlaam on Nov 23, 2016, 08:09 am
yes, I installed the trinket drivers for windows, but I do not see the trinket in de list of devices


(http://reinierdevlaam.nl/disp-4.jpg)
Title: Re: can't upload sketch to pro-trinket
Post by: oqibidipo on Nov 23, 2016, 09:18 am
You have to add the Adafruit boards with the boards manager:
https://learn.adafruit.com/add-boards-arduino-v164/setup (https://learn.adafruit.com/add-boards-arduino-v164/setup)
Title: Re: can't upload sketch to pro-trinket
Post by: reinierdevlaam on Nov 23, 2016, 11:36 am
ok it seems to be working, but no clue why
I have added the aditional board definitions I found on the adadfruit site to the programfiles (x86) adafruit hardware directory. Then the IDE saw the trinket. However when I compiled the code the IDE stated there were two wire.h definitions. So I uninstalled the IDE once more but this time deleted the whole adafruit directory in in programfiles (x86).
Then re-installed only the IDE, not the boards  et voila...everthing working fine...

only problem now is that with the same code the characters on the 64x128 display (inc adafruit logo) are twice the size they were beofre)
Title: Re: can't upload sketch to pro-trinket
Post by: reinierdevlaam on Nov 23, 2016, 11:46 am
You have to add the Adafruit boards with the boards manager:
https://learn.adafruit.com/add-boards-arduino-v164/setup (https://learn.adafruit.com/add-boards-arduino-v164/setup)
Yes I had done that with no result