Loading...
  Show Posts
Pages: [1]
1  Using Arduino / Microcontrollers / Re: How to program ATtiny45 with Arduino Leonardo as ISP on: December 12, 2012, 04:17:50 am
Thank you for verifying that Peter. That was driving me nuts as everything I found said it would work. Believe me I tried a lot of things. Once I purchased the Uno ver 3 it worked the first time.

John
2  Using Arduino / Microcontrollers / Re: How to program ATtiny45 with Arduino Leonardo as ISP on: December 06, 2012, 09:02:12 pm
I have tried that core too. I went back in and changed the PROGRAMMER to Leonardo as ISP  in ver 1.0.1 and it gave me this error:

Binary sketch size: 824 bytes (of a 4,096 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00

I am new to Arduino and don't have a clue why this isn't working. If I can get it working then I will make a programming shield for it.
I must be missing something!!!

John
3  Using Arduino / Microcontrollers / Re: How to program ATtiny45 with Arduino Leonardo as ISP on: December 06, 2012, 06:44:30 pm
I have an Arduino Leonardo, trying to program the ATtiny45 chip. I have connected the programming wires to the ICSP pins as directed. I am using Arduino 1.0.1 software in Windoes XP Home SP 3. I have changed the #defin RESET   SS to 10 in the ArduinoISPM sketch and compiled that using the Leonardo board. Then I loaded the blink sketch and changed the led to 0. I compiled to the ATtiny45(8 mhz internal clock) and got the following error:

Binary sketch size: 830 bytes (of a 4,096 byte maximum)
avrdude: error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc


I just tried Arduino 1.0.2 software and got this error message when trying to load the Blink program:

In file included from F:\Arduino\hardware\arduino\cores\arduino/Arduino.h:193, from Blink.ino:10:
F:\Arduino\hardware\arduino\cores\arduino/HardwareSerial.h:125:2: error: #error TXC0 not definable in HardwareSerial.h


I have just purchased 50 of these chips and hope I don't have to buy a programmer or an Arduino UNO to make them work!!
Any ideas???

John
Pages: [1]