0

Trinket Pro not showing up under Tools/board
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Trinket Pro not showing up under Tools/board

by ClaireMorrissey on Sat Jun 20, 2015 3:11 am

I connected an Arduino Trinket Pro to a USB port on my Windows 7 computer, and I downloaded the USB tiny ISP driver. Actually, I'm not sure if it worked--"USBtinyISP AVR programmer" shows up in my devices under USBtiny/hardware, but when I select the "driver" tab it doesn't allow me to update the driver.

Anyhow, when I am in the Arduino IDE under tools/board there is no "Trinket" board in the list. We have a class full of students who want to use the Trinkets and no one was able to get them to work, on any computer. I don't knoew what the specifics are for everyone else, but my main problem seems to be not finding "Trinket" under "boards" in the IDE. there are other boards I tried, such as "Arduino Pro or Pro Mini with Atmega 328", but no results with that one either. Please help me. I have to find out how to fix this problem before class starts on Monday-- or risk turning off 20 young robotics enthusiasts.

ClaireMorrissey
 
Posts: 3
Joined: Sat Jun 20, 2015 2:49 am

Re: Trinket Pro not showing up under Tools/board

by adafruit_support_rick on Sat Jun 20, 2015 7:31 am

You have to add Pro Trinket support to the Arduino IDE.

Please see these instructions:
https://learn.adafruit.com/add-boards-arduino-v164

adafruit_support_rick
 
Posts: 35089
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Trinket Pro not showing up under Tools/board

by ClaireMorrissey on Sat Jun 20, 2015 10:53 am

I now have the latest Arduino IDE (1.6.5), and have added the Trinket Pro to boards-- thank you for the instructions. I connected a Trinket Pro 5V and selected Pro Trinket 5V 16 MHz FTDI as the board, and tried to run a Blink sketch. This is the error message I got:

avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified.

I just noticed that I no longer have the selection of serial ports I had with the previous version-- there is only COM 11. In the previous IDE I had the option to select several different ports, including USBtinyISP. Someone else downloaded that driver for me, and I'm not even sure we managed to get it to work. How do I get the USB tinyISP selection back again, so that it works?

ClaireMorrissey
 
Posts: 3
Joined: Sat Jun 20, 2015 2:49 am

Re: Trinket Pro not showing up under Tools/board

by adafruit_support_rick on Sun Jun 21, 2015 12:10 pm

The (FTDI) board selection is only if you are using an FTDI Friend or FTDI cable for programming. These implement a serial port.

If you are connecting to the Pro Trinket by USB, there will be no serial port. You select the Pro Trinket (USB) version from the boards list, and ignore the serial port.
Make sure you have Tools:Programmer set to "USBtinyISP"

adafruit_support_rick
 
Posts: 35089
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: Trinket Pro not showing up under Tools/board

by ClaireMorrissey on Sun Jun 21, 2015 4:22 pm

Yes, I changed that and I got the Blink sketch to work. Now I'm having trouble with the Adafruit_SoftServo library (I'm trying to make the Trinket Rover). I see Adafruit_SoftServo when I go to Sketch, Include Libraries, but when I select Adafruit_SoftServo and hit "include", a blank line appears in the sketch, and when I try to compile, I get this error message:

Arduino: 1.6.5 (Windows 7), Board: "Pro Trinket 5V/16MHz (USB)"

sketch_jun21a.ino:1:32: fatal error: Adafruit_SoftServo.h: No such file or directory
compilation terminated.
Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

ClaireMorrissey
 
Posts: 3
Joined: Sat Jun 20, 2015 2:49 am

Re: Trinket Pro not showing up under Tools/board

by franklin97355 on Sun Jun 21, 2015 6:56 pm

If you are running windows go to c:\users\<user name>\Documents\Arduino\libraries and see if there is a folder by that name containing your file.

franklin97355
 
Posts: 19030
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Trinket Pro not showing up under Tools/board

by Rosemarije on Fri Jan 19, 2018 5:39 pm

I see this is an old post, but I just came across the same problem.
I don't see the pro trinket in the list of boards.
I use the Arduino IDE 1.8.5 app on windows 10 Home
Hope someone can help me out, after prototyping on a Uno I first soldered everything with the trinket. Was eager to see the result...

edit found the way to add the board, now get this error-report:

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board:"Pro Trinket 5V/16MHz (USB)"

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board:"Pro Trinket 5V/16MHz (USB)"

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\Rosemarije\Documents\ArduinoData\packages -hardware C:\Users\Rosemarije\Documents\Arduino\hardware -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\Rosemarije\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\Rosemarije\Documents\Arduino\libraries -fqbn=adafruit:avr:protrinket5 -ide-version=10805 -build-path C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724 -warnings=none -build-cache C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_cache_826258 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -verbose C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\examples\01.Basics\Blink\Blink.ino
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware -hardware C:\Users\Rosemarije\Documents\ArduinoData\packages -hardware C:\Users\Rosemarije\Documents\Arduino\hardware -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\Rosemarije\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries -libraries C:\Users\Rosemarije\Documents\Arduino\libraries -fqbn=adafruit:avr:protrinket5 -ide-version=10805 -build-path C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724 -warnings=none -build-cache C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_cache_826258 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -verbose C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\examples\01.Basics\Blink\Blink.ino
Using board 'protrinket5' from platform in folder: C:\Users\Rosemarije\Documents\ArduinoData\packages\adafruit\hardware\avr\1.4.11
Using core 'arduino' from platform in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr
Warning: Board Trinket:avr:gemma doesn't define a 'build.board' preference. Auto-set to: AVR_GEMMA
Warning: Board Trinket:avr:trinket3 doesn't define a 'build.board' preference. Auto-set to: AVR_TRINKET3
Warning: Board Trinket:avr:trinket5 doesn't define a 'build.board' preference. Auto-set to: AVR_TRINKET5
Detecting libraries used...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROTRINKET5 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724\sketch\Blink.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROTRINKET5 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724\sketch\Blink.ino.cpp" -o "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724\preproc\ctags_target_for_gcc_minus_e.cpp"
Sketch aan het compileren...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_PROTRINKET5 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724\sketch\Blink.ino.cpp" -o "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724\sketch\Blink.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core
Linking everything together...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724/Blink.ino.elf" "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724\sketch\Blink.ino.cpp.o" "C:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724/..\arduino_cache_826258\core\core_adafruit_avr_protrinket5_a94ab6aaf61dfb93b4a8079c694a14c2.a" "-LC:\Users\ROSEMA~1\AppData\Local\Temp\arduino_build_515724" -lm
c:/program files/windowsapps/arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'

collect2.exe: error: ld returned 1 exit status

exit status 1
Fout bij het compileren voor board Pro Trinket 5V/16MHz (USB)

Rosemarije
 
Posts: 16
Joined: Wed Feb 18, 2015 5:51 am

Re: Trinket Pro not showing up under Tools/board

by adafruit_support_rick on Sat Jan 20, 2018 5:45 pm

Code: Select all | TOGGLE FULL SIZE
c:/program files/windowsapps/arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'


I haven't seen that error before. I think there's something wrong with your Arduino installation. This is not a Pro Trinket issue. The problem is that your sketch is not compiling properly.

How did you install the board support package?

adafruit_support_rick
 
Posts: 35089
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Please be positive and constructive with your questions and comments.