trouble uploading to trinket pro 3V

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
endeavor
 
Posts: 5
Joined: Sat Jun 09, 2018 4:12 pm

trouble uploading to trinket pro 3V

Post by endeavor »

I'm trying to up load a sketch to a Trinket Pro 3V from my Mac having some trouble. The wrinkle is that this is the second identical sketch/hardware/transfer cable/etc that's having troubles. The first one went just fine. If I'm reading these messages, it looks like it's just not seeing it for some reason. Anyone have any ideas? The green power LED is on and the red LED is pulsing slowly.

Code: Select all

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

         System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/kate/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : usb
         Using Programmer              : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: 020:009
         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 "/var/folders/j4/xr0z13_m8v5g7r006s6_0t4h0000gn/T/arduino_build_588719/arduino-twinkle-lights-array.ino.hex"
avrdude: writing flash (1410 bytes):

Writing | ########
avrdude: error: usbtiny_send: Input/output error (expected 128, got -5)
####avrdude: 4 retries during SPI command
avrdude: 1 retries during SPI command
(last line repeats many times.)

User avatar
endeavor
 
Posts: 5
Joined: Sat Jun 09, 2018 4:12 pm

Re: trouble uploading to trinket pro 3V

Post by endeavor »

I guess it just must be a dud trinket?

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: trouble uploading to trinket pro 3V

Post by Franklin97355 »

Have you tried re-installing the Arduino IDE yet? Or at least deleting the arduino15 folder and restarting the IDE as that sometimes fixes the wonky behavior.

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: trouble uploading to trinket pro 3V

Post by adafruit2 »

also try going thru a USB hub if you have one, those new Mac USB ports are very finicky!

User avatar
endeavor
 
Posts: 5
Joined: Sat Jun 09, 2018 4:12 pm

Re: trouble uploading to trinket pro 3V

Post by endeavor »

I did try a new cable and a hub, with no luck. I think it must either have been a dud, or I damaged with my inexpert soldering, because the other 3 I've tried have been fine.

User avatar
adafruit2
 
Posts: 22148
Joined: Fri Mar 11, 2005 7:36 pm

Re: trouble uploading to trinket pro 3V

Post by adafruit2 »

can you use an itsybitsy instead? it works a lot better than a trinket pro these days

User avatar
endeavor
 
Posts: 5
Joined: Sat Jun 09, 2018 4:12 pm

Re: trouble uploading to trinket pro 3V

Post by endeavor »

I have not. I ended up just using a new one. (Though the lipo backpack is also not working, so I'm chalking this up to some kind of operator soldering error wherein I overheated the components).

I will look into the itsybitsy if I do this again.

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”