0

Trinket Pro Upload Issue
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Trinket Pro Upload Issue

by tesorrells on Mon Aug 21, 2017 12:51 pm

I'm trying to get my trinket pro to display a simple message on an SSD1306. Whenever I plug it in or reset it, it pulses for about 10 seconds and then turns off. Uploading before it turns off doesn't do anything either and the trinket seems to do nothing when I upload any programs.I'm fairly new to the trinket so I'm not sure if the boot loader is messed up or what. Here is the verbose upload information:

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : usb
Using Programmer : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: bus-0:\\.\libusb0-0001--0x1781-0x0c9f
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : USBtiny
Description : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported

avrdude: Using SCK period of 10 usec
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: Using SCK period of 10 usec
avrdude: reading input file "C:\Users\Trevor\AppData\Local\Temp\arduino_build_741497/test_display.ino.hex"
avrdude: writing flash (10064 bytes):

Writing | ################################################## | 100% 1.70s

avrdude: 10064 bytes of flash written
avrdude: verifying flash memory against C:\Users\Trevor\AppData\Local\Temp\arduino_build_741497/test_display.ino.hex:
avrdude: load data flash data from input file C:\Users\Trevor\AppData\Local\Temp\arduino_build_741497/test_display.ino.hex:
avrdude: input file C:\Users\Trevor\AppData\Local\Temp\arduino_build_741497/test_display.ino.hex contains 10064 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.97s

avrdude: verifying ...
avrdude: 10064 bytes of flash verified

avrdude done. Thank you.

tesorrells
 
Posts: 2
Joined: Mon Aug 21, 2017 12:46 pm

Re: Trinket Pro Upload Issue

by franklin97355 on Tue Aug 22, 2017 12:05 am

That seems to indicate successful upload. Can you tru running the blink sketch to see if that works? It may be your code or connections that is the problem.

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

Re: Trinket Pro Upload Issue

by tesorrells on Tue Aug 22, 2017 9:27 am

I ended up figuring it out. The trinket 3V doesn't have enough power for the SSD1306 128x64 display.

tesorrells
 
Posts: 2
Joined: Mon Aug 21, 2017 12:46 pm

Please be positive and constructive with your questions and comments.