damellis / attiny

ATtiny microcontroller support for the Arduino IDE
720 stars 226 forks source link

ATtiny45 doesn't connect to Uno #123

Closed wait8 closed 6 years ago

wait8 commented 6 years ago

Hello, i was trying to programm a ATtiny45 with my Arduino Uno. I was using this tutorial: http://highlowtech.org/?p=1706 Except the part with the pins is different with mine: Pin 7 = PB2 = SCK (aka Pin 2) Pin 6 = PB1= MISO (aka Pin 1) Pin 5 = PB0 = MOSI (aka Pin 0) Pin Reset (which is btw. negated on ATtiny) to Pin 10 My Arduino programm version is 1.6.10 and everything is updated. But the programm shows me everytime these failures:

avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03

Could someone help me?

wait8 commented 6 years ago

i figure it out why it doesn't work at the first place.

My Arduino hang sometimes why i used the reboot button several times before it came to life again. Then i uploaded the arduino isp (important: without connection to any ports except USB) and then you can burn the bootloader on the ATtiny 45.