lost USBTinyISP

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
rhartl
 
Posts: 122
Joined: Tue Jan 27, 2015 1:31 pm

lost USBTinyISP

Post by rhartl »

So closing in on the finish line for my project suddenly the FTDI cable will not talk to the processor. Verbose error indicates that it cannot find USBTinyISP. I am using Arduino 1.6.3 and have the board set to Trinket Pro3V/12mhz FTDI (which is correct and was working before), com port is Com 9 and the programmer is set to that. Programmer is Arduino ISP. Just updated the com driver. Help!!!

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: lost USBTinyISP

Post by adafruit_support_rick »

If it's reporting this error, you don't actually have the ProTrinket board type set to FTDI.

User avatar
rhartl
 
Posts: 122
Joined: Tue Jan 27, 2015 1:31 pm

Re: lost USBTinyISP

Post by rhartl »

Here is a screen shot.
Trinket shot.png
Trinket shot.png (74.02 KiB) Viewed 959 times
and the error message...
error.png
error.png (5.51 KiB) Viewed 959 times
The stamp on the processor says "Pro Trinket 3V".

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: lost USBTinyISP

Post by adafruit_support_rick »

That's definitely weird. So, the FTDI cable for sure shows up as COM9 in the Device Manager?
Can you upgrade to a newer version of Arduino, and install the Adafruit board support package?
It looks like the install into 1.6.3 didn't go so well.

https://learn.adafruit.com/adafruit-ard ... ot-6-x-ide

User avatar
rhartl
 
Posts: 122
Joined: Tue Jan 27, 2015 1:31 pm

Re: lost USBTinyISP

Post by rhartl »

So I've loaded up Arduino 1.6.7 (latest version). Installed the boards and the USB driver from Adadfruit. Set the board to Trinket Pro 3V/12Mhz. Compiled the sketch and pushed upload. I am getting the same error as before. Is it possible its the cable?

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: lost USBTinyISP

Post by adafruit_support_rick »

Sure - Try some different cables

User avatar
rhartl
 
Posts: 122
Joined: Tue Jan 27, 2015 1:31 pm

Re: lost USBTinyISP

Post by rhartl »

Well I don't have more than one FTDI cable available to me and I'd like to make sure that's a possibility before I buy another one. I guess it would be time to confess that when I first saw this problem I was working on the sketch. The project involves having a lipo poly battery and detecting when the voltage is low. It then detects the presence of a USB charger on the port for the trinket and puts the system into recharge mode. When I first saw the problem the USB charger and battery and the FTDI cable were all connected to the Trinket. Might that have been a problem?

Also there are still some LED's lighting up when I first plug in the cable (red and green) they both flash once and then go away, if that helps.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: lost USBTinyISP

Post by adafruit_support_rick »

I don't know. Having the USB power and the FTDI might have damaged the FTDI. I kind of doubt it, though.

What's puzzling to me is why it's looking for a USBtiny in the first place. I'll see if somebody else here has any ideas.

Meanwhile, can you program it over USB as a USBtiny? Make sure the programmer type is set to USBtiny in the IDE

User avatar
rhartl
 
Posts: 122
Joined: Tue Jan 27, 2015 1:31 pm

Re: lost USBTinyISP

Post by rhartl »

So now having updated the windows driver and all of the out-of-date libraries I am getting a new set of errors:
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
Using library Wire at version 1.0 in folder: C:\Users\Hartl\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.4.5\libraries\Wire
Using library Adafruit_GFX_Library at version 1.1.4 in folder: C:\Users\Hartl\Documents\Arduino\libraries\Adafruit_GFX_Library
Using library Adafruit_SSD1306 at version 1.1.0 in folder: C:\Users\Hartl\Documents\Arduino\libraries\Adafruit_SSD1306
Using library EEPROM at version 2.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM
exit status 1
#error ("Height incorrect, please fix Adafruit_SSD1306.h!");

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x49
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x49
I don't know where to go from here.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: lost USBTinyISP

Post by adafruit_support_rick »

OK. I think there's something wrong with your Pro Trinket.
Please email [email protected] with a link to this thread for a replacement

User avatar
rhartl
 
Posts: 122
Joined: Tue Jan 27, 2015 1:31 pm

Re: lost USBTinyISP

Post by rhartl »

Ok. Thanks.

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

Return to “USBtinyISP”