Can not upload sketch with Arduino uno to attiny84

My code is all correct and i wired it to the bread board correct. Why wont it work?
I keep getting this error code: avrdude: stk500_getsync(): not in sync: resp=0x00
And its a brand new UNO R3 that i bought from Mouser.
What do i do to get my sketch to the attiny84 correctly with no errors?

TheBossCookie:
My code is all correct and i wired it to the bread board correct. Why wont it work?

Since your code and wiring are correct the problem must be that your ATtiny84 is faulty.

ok ill try that

johnwasser:
Since your code and wiring are correct the problem must be that your ATtiny84 is faulty.

I just replaced it with a new one and it still gave me the same error code.

TheBossCookie:

johnwasser:
Since your code and wiring are correct the problem must be that your ATtiny84 is faulty.

I just replaced it with a new one and it still gave me the same error code.

That's odd. Perhaps it is the method you used to determine that your code and wiring are perfect that is faulty.

if you wired it up fine...

you must have 2 faulty attiny chips! what the odds on that!

(maybe your wiring / something is wrong?)

well i have my wires hooked up like;
5v to pin 1-Vcc
Ground to pin 14-Ground
Digital pin 10 to pin 4-Reset
Digital pin 11 to pin 7-MOSI
Digital pin 12 to pin 8-MISO
Digital pin 13 to pin 9-SCK

My code
http://www.instructables.com/files/orig/FMX/ZR5K/H5ECN9QG/FMXZR5KH5ECN9QG.txt

TheBossCookie:
well i have my wires hooked up like;
5v to pin 1-Vcc
Ground to pin 14-Ground
Digital pin 10 to pin 4-Reset
Digital pin 11 to pin 7-MOSI
Digital pin 12 to pin 8-MISO
Digital pin 13 to pin 9-SCK

Did you remember to disable auto-reset on the UNO?

What ATtiny arduino core are you using?

Is this the project you are trying to duplicate? http://www.instructables.com/id/Full-Binary-Clock

johnwasser:

TheBossCookie:
well i have my wires hooked up like;
5v to pin 1-Vcc
Ground to pin 14-Ground
Digital pin 10 to pin 4-Reset
Digital pin 11 to pin 7-MOSI
Digital pin 12 to pin 8-MISO
Digital pin 13 to pin 9-SCK

Did you remember to disable auto-reset on the UNO?

What ATtiny arduino core are you using?

Is this the project you are trying to duplicate? http://www.instructables.com/id/Full-Binary-Clock

Auto reset?
atmega328p
and yes

Did you miss any of these steps?

  1. Upload the ArduinoISP sketch to your UnoR3?
  2. (for the Uno R3 you do not need to disable auto-reset, Optiboot avoids the reset at different baud rate)
  3. Load the Binary_Clock sketch.
  4. Hook up your ISP wires as you indicated.
  5. Select ATtiny84 (internal 8MHz) board type.
  6. Select the Arduino as ISP programmer type.
  7. Burn Bootloader
  8. Upload Using Programmer

No clock on that clock... +/- .5% accuracy is do-able best case with the internal oscillator. +/- 7 mins 12 sec per day... I could probably make a better sundial... Digitally. Just cast the shadow from the longest one... A mirror helps too...

hiduino:
Did you miss any of these steps?

  1. Upload the ArduinoISP sketch to your UnoR3?
  2. (for the Uno R3 you do not need to disable auto-reset, Optiboot avoids the reset at different baud rate)
  3. Load the Binary_Clock sketch.
  4. Hook up your ISP wires as you indicated.
  5. Select ATtiny84 (internal 8MHz) board type.
  6. Select the Arduino as ISP programmer type.
  7. Burn Bootloader
  8. Upload Using Programmer

Error while burning boot loader
avrdude: stk500_getsync(): not in sync: resp=0x00

You have some unanswered questions, which makes it difficult to help:

What ATtiny core are you using?

this one:
https://code.google.com/p/arduino-tiny/
or this
http://hlt.media.mit.edu/?p=1706
or a completely different core

Which arduino core 1.01 or newer/older?

How do you disable reset on your UNO?

TheBossCookie:
Error while burning boot loader
avrdude: stk500_getsync(): not in sync: resp=0x00

If the wiring is perfect then it is possible that the fuses in the ATtiny84 have been set to expect an external crystal. Without that crystal there is no system clock and without a system clock you can't use serial programming (ICSP).

There are some versions of the ArduinoISP sketch that supply an 8MHz clock on Pin 9. You can then hook Pin 9 to the XTAL1 pin of the target processor (pin 2 of the ATtiny84) to provide an external system clock in place of the crystal. Give that a try: GitHub - adafruit/ArduinoISP: A fork of the ArduinoISP that has 8mhz output clock

johnwasser:

TheBossCookie:
Error while burning boot loader
avrdude: stk500_getsync(): not in sync: resp=0x00

If the wiring is perfect then it is possible that the fuses in the ATtiny84 have been set to expect an external crystal. Without that crystal there is no system clock and without a system clock you can't use serial programming (ICSP).

There are some versions of the ArduinoISP sketch that supply an 8MHz clock on Pin 9. You can then hook Pin 9 to the XTAL1 pin of the target processor (pin 2 of the ATtiny84) to provide an external system clock in place of the crystal. Give that a try: GitHub - adafruit/ArduinoISP: A fork of the ArduinoISP that has 8mhz output clock

Same error code.
can u give me a pic with the wires where they need to be placed so i can commpair it to mine.
i do belive there perfect but i want to make sure

Erni:
You have some unanswered questions, which makes it difficult to help:

What ATtiny core are you using?

this one:
Google Code Archive - Long-term storage for Google Code Project Hosting.
or this
http://hlt.media.mit.edu/?p=1706
or a completely different core

Which arduino core 1.01 or newer/older?

How do you disable reset on your UNO?

Attiny84
Software: 1.0.4
Arduino UNO R3
Arduino as ISP
this is the project: http://www.instructables.com/id/Full-Binary-Clock/?ALLSTEPS
And i think thats every thing

TheBossCookie:
this is the project: http://www.instructables.com/id/Full-Binary-Clock/?ALLSTEPS

Did you follow these instructions they point to?

http://hlt.media.mit.edu/?p=1695

johnwasser:

TheBossCookie:
this is the project: http://www.instructables.com/id/Full-Binary-Clock/?ALLSTEPS

Did you follow these instructions they point to?

http://hlt.media.mit.edu/?p=1695

yes

TheBossCookie:

johnwasser:

TheBossCookie:
this is the project: http://www.instructables.com/id/Full-Binary-Clock/?ALLSTEPS

Did you follow these instructions they point to?

http://hlt.media.mit.edu/?p=1695

yes

And were you able to successfully load and run the Blink sketch according to those instructions?