Problem with Gemma 2 and 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
leon_stein
 
Posts: 2
Joined: Wed Aug 26, 2015 3:13 am

Problem with Gemma 2 and USBtinyISP

Post by leon_stein »

i'm trying to programm my new Gemma 2. i've followed the guide of Gemma 2, but stil get problem/error, that not in your guide.

i try to update this "empty" code to Gemma2

Code: Select all

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}
but get this error:

Code: Select all

avrdude: error: usbtiny_transmit: 
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude: error: usbtiny_transmit: 

in cmd with
avrdude -c usbtiny -p attiny85 -F

i get this information:

Code: Select all


avrdude: error: usbtiny_transmit: usb_control_msg: sending control message faile
d, win error: Ein an das System angeschlossenes Gerõt funktioniert nicht.

avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATtiny85 is 1E 93 0B

avrdude: error: usbtiny_transmit: usb_control_msg: sending control message faile
d, win error: Ein an das System angeschlossenes Gerõt funktioniert nicht.


avrdude done.  Thank you.
does someone know what's happend? how can i solve that?

btw:
window 7
Arduino 1.6.5
avrdude is 5.11

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

Re: Problem with Gemma 2 and USBtinyISP

Post by adafruit_support_rick »

avrdude is not communicating with the Gemma. Try some different USB cables and a different USB port.

This is Windows? Does the Gemma show up in Device Manager under Win32-LibUSB Devices?

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

Re: Problem with Gemma 2 and USBtinyISP

Post by Franklin97355 »

Are you pressing the reset button so the LED is flashing while the IDE is trying to upload? If you haven't already check this out. https://learn.adafruit.com/introducing- ... rduino-ide

User avatar
leon_stein
 
Posts: 2
Joined: Wed Aug 26, 2015 3:13 am

Re: Problem with Gemma 2 and USBtinyISP

Post by leon_stein »

i've got it now. thanks!!

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

Return to “USBtinyISP”