I have a newly purchased Arduino Uno board with “328” chip. running the latest version of Arduino 1.0.5
I have been trying to upload a simple program to an ATTINY 85 Chip. I can load programs to the arduino uno board (tried the BLINK sample in the software and it worked on the Arduino board) but when I try to use it as an ISP per instructions on this site to program an ATTINY85, I get this error code:
(stk500_getsync(): not in sync: resp=0x00 solution)
I have used two computers one running windows 7 and one running windows 8 to ensure it is not a computer hardware issue. Both give me the same error code…this is driving me crazy. The ATTINY85 is supposed to be an easy way to shrink a simple project but this difficulty is ridiculous and I have a shrinking time restraint to finish for a PC board design. I have researched the internet and others have had this error too. Can anyone help?? Please…It is a simple LED lighting program, nothing complicated. It compiles just fine. This is it…
int ledPin2 = 7;
int ledPin3 = 2;
int ledPin4 = 3;
void setup() {
pinMode(ledPin2, OUTPUT);
pinMode(ledPin3, OUTPUT);
pinMode(ledPin4, OUTPUT);
}
void loop() {
digitalWrite(ledPin2, HIGH); // front ultra violet and green on
delay(15000);
digitalWrite(ledPin2, LOW);
delay(1000);
digitalWrite(ledPin3, HIGH); // rear white lightning on
delay(500);
digitalWrite(ledPin3, LOW);
delay(500);
digitalWrite(ledPin3, HIGH);
delay(500);
digitalWrite(ledPin3, LOW);
delay(500);
digitalWrite(ledPin3, HIGH);
delay(1500);
digitalWrite(ledPin3, LOW);
delay(1000);
digitalWrite(ledPin4, HIGH); // front white lightning on
delay(1000);
digitalWrite(ledPin4, LOW);
delay(250);
digitalWrite(ledPin4, HIGH);
delay(250);
digitalWrite(ledPin4, LOW);
delay(500);
digitalWrite(ledPin4, HIGH);
delay(500);
digitalWrite(ledPin4, LOW);
delay(3000);
}
I cant even upload (to the ATTINY85) the sample in the Arduino Software under (File,Examples,Basics,Blink) It does run on the Arduino UNo board.
Same error code when trying to program the ATTINY85. I have tried more than one ATTINY85 chip also. A direct answer to my email would be helpful too, because I have limited acces to this site via computer during the day.(bjb628@gmail.com)
:think: