Go Down

Topic: can not connect to my trinket pro (Read 208 times) previous topic - next topic

reinierdevlaam

I recently bought a pro-trinket 5V and am trying to conenct it to PC. In the IDE (1.6.7)
I choose the board: Arduino pro or pro mini, I guess that is right but the menu doen't match the 1.0.5 IDE where the trinket is a separate option.

Now I try connection the trinket with a normal mini-USB cable. In the windows device manager is see the USBtiny device come up. The red led start pulsating. Then I try to upload the blink example program. The led remains pulsating. and after a while I get the sync error 0x30 or 0x87...., Each time I try it is a different code. For some reason in the IDE it states COM1 as port, I can not deselect that

Then I try it with a prolific FDTI cable (which I also use with the HUZZAH) and select in the IDE COM4 which is the right device. Again try to upload the blink example. The red light stops flashing, goes red for a while (>1sec) and then starts flashing again, repeating this sequence. After a while the IDE reports not in sync with code 0x5d, but I have seen several other codes as well

I found out the pro or pro mini is not the same as the pro trinket

but what happened to the trinket in the board menu, it is not there...I checked the 1.6.7 version, but also tried the 1.0.5 version which is shown in the guided tour, still no trinket in the board menu


anyone an idea what can solve this?

el_supremo

Have you asked on the Adafruit forums or searched those forums for threads dealing with similar problems?

Pete

reinierdevlaam


reinierdevlaam

found it finally!!!!!

I had to add the adfruit boards definitions in the IDE
they are not there by default

it is not clear in the guide for the trinket

marine_hm

#4
Apr 20, 2016, 01:42 pm Last Edit: Apr 20, 2016, 01:47 pm by marine_hm
I'm having the same trouble.  I installed the Tinyusb drivers from Adafruit.  Windows 7 Professional. Any other needed information please let me know.  IDE 1.6.7

I do not understand what is meant by "adding the board definitions in the IDE".  Some help please...?

Thanks.  Nick

pert

I do not understand what is meant by "adding the board definitions in the IDE".  Some help please...?
Do this:
  • Add https://adafruit.github.io/arduino-board-index/package_adafruit_index.json to File > Preferences > Additional Boards Manager URLs
  • Click OK
  • Tools > Board >  Boards Manager > Adafruit AVR Boards(click on it) > Install > Close

After that the Trinket Pro, etc will appear in the Tools > Board menu.

marine_hm

#6
Apr 20, 2016, 02:36 pm Last Edit: Apr 20, 2016, 02:53 pm by marine_hm
Pert;
I added the url.  I also opened it up in another window to see what it was.
It opens up what looks like a text file with arduino code.  I'm assuming you wanted me to just add the url under FILE - PREFERENCES - ADDITIONAL BOARDS MANAGER URLs:  //adafruit.github.io/arduino-board-index/package_adafruit_index.json

Did that, saved and closed IDE, reopened.  "Adafruit AVR Boards" still not there!
It does have Arduino AVR Boards but not Adafruit AVR Boards.

WAIT!!!!  missed the HTTPS.  I think I got it...

marine_hm

#7
Apr 20, 2016, 02:55 pm Last Edit: Apr 20, 2016, 06:57 pm by marine_hm
Yes that worked;
What do I use for TOOLS - PROGRAMMER?
Still having trouble with USB...  I installed the adafruit drivers...  Should I re-do that?

pert

What do I use for TOOLS - PROGRAMMER?
USBtinyISP

Still having trouble with USB...  I installed the adafruit drivers...  Should I re-do that?
Hopefully it will start working with the USBtinyISP selected as programmer.

marine_hm

For anyone else reading this for guidance...  You need to pay close attention to Adafruits Trinket Pro Boot loader sequence:

How to start the USB bootloader
Before you try to upload code to the Pro Trinket using the USB bootloader it must be in the Bootloader Mode. That means its listening for a sketch or program to be sent to it
When the Pro Trinket is in bootloader mode, the red LED will be pulsing. Once the red LED stops pulsing, you must press the reset button to re-enter bootloader mode
The Pro Trinket must be connected to a computer via a USB cable to enter bootloader mode. You can enter the bootloader mode by pressing the little button on the board with your fingernai. The bootloader will 'time out' after 10 seconds, so to re-enter the bootloader mode just re-press the button!

Don't press-and-hold the reset button, be sure to press-and-release!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy