its all in the title.
I have IDE 1.0 and downloaded this: Core13 download | SourceForge.net
it installed at C:\arduino\arduino-1.0.1\hardware\arduino\cores/core13
Also hooked up the wires correctly to the attiny13a as shown here - YouTube
in the IDE I switched the board to attiny13(tryed all of the different attiny options with same result)
then selected tools/programmer and set it as arduino ISP
I use this code for testing it
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 4;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
and EVERYTIME I upload it I get this:
avrdude: stk500_getsync(): not in sync: resp=0x00
can somebody please tell me what I am doing wrong? its been driving me crAzy for 3 days now. I really would like some tips or help as to what is wrong.
I know, it is a silly question, but did you "Burn Bootloader" for the ATTiny setup you want? There is no actual bootloader, but it will set the fuses and such. I have only done this once with an ATTiny, but I remember running at 5 MHz (4.8 actual) range internal.
If none of those work, I will setup a "Tiny Project" and see how that library behaves.
Since you're using the Uno, have you added a 10?F capacitor between the RESET and GND to prevent the automatic reset? In the video you embedded he's not using a uno, so he doesn't do that.
have you added a 10?F capacitor between the RESET and GND to prevent the automatic reset?
I still get the same error: avrdude: stk500_getsync(): not in sync: resp=0x00
but did you "Burn Bootloader" for the ATTiny setup you want? There is no actual bootloader, but it will set the fuses and such. I have only done this once with an ATTiny, but I remember running at 5 MHz (4.8 actual) range internal.
avrdude: stk500_getsync(): not in sync: resp=0x00 I dont know why its doing that but thats what it says:/
Can you provide a clear photo of your wiring please?
Then try running the sketch described here on your Uno:
That1guy99:
as for the sketch, I get a whole crap load of errors like these
Atmega_Board_Detector:378: error: 'Serial' was not declared in this scope:/
Serial certainly should be defined. When you compile that sketch the target board is the Uno, not your Attiny13. You upload that sketch to the Uno, use the wiring you already had, and let the Uno test the Attiny chip.
Serial certainly should be defined. When you compile that sketch the target board is the Uno, not your Attiny13. You upload that sketch to the Uno, use the wiring you already had, and let the Uno test the Attiny chip.
Thnks:)
I still get an error but its only one error:
Atmega_board_Detector:300 error: 'SCK' was not declared in this scope
I agree with Nick. I just hooked up using Nick's ABP and it ID'd the chip out of the gate (Out of Box):
Atmega chip programmer.
Written by Nick Gammon.
Entered programming mode OK.
Signature = 0x1E 0x90 0x07
Processor = ATtiny13A
Flash memory size = 1024 bytes.
LFuse = 0x6A
HFuse = 0xFF
EFuse = 0xFF
Lock byte = 0xFF
Clock calibration = 0x56
No bootloader support for this device.
Type 'C' when ready to continue with another chip ...
Hookups
Arduino | ATTiny13
D10 --- Pin 1 - Reset (with the Indentation "Dot")
D11 --- Pin 5 - MOSI (Bottom across from Pin 4)
D12 --- Pin 6 - MISO (Up from Pin 5)
D13 --- Pin 7 - SCK
Vcc 5v --- Pin 8 - Vcc
Gnd --- Pin 4 - Gnd
No other passives.
You hookups appear to be like mine. Only three things I can think of,
I just checked out the "core13" installed exactly as installed in the OP and it will upload the stated "Blink" with no problems with all three clock settings (128 kHz WD was a fast blink).
I pulled the ICSP wires one by one and the only ones that give the communication error were disconnected MOSI and MISO lines.
One of those jumpers are bad or flaky connection there abouts.
avrdude: please define PAGEL and BS2 signals in the
configuration file for part ATtiny13
avrdude: Yikes! Invalid device signature.
Try moving the 10uF to your Uno Reset and Gnd and try again (Remember polarity on the cap). Apparently it is a common Uno problem when programming the ATTiny. When I was pulling the ICSP jumpers, the Reset jumper not connected caused that error with me.
Try moving the 10uF to your Uno Reset and Gnd and try again (Remember polarity on the cap). Apparently it is a common Uno problem when programming the ATTiny. When I was pulling the ICSP jumpers, the Reset jumper not connected caused that error with me.
I have tried and done that with multiple 10 uf caps( yes I did check to make sure I had it in the right way) with no success
Also, I made sure that there were no bad wires(there are none), checked the connections, I even changed the chip and put a fresh one in the slot and I still get this error:
avrdude: please define PAGEL and BS2 signals in the
configuration file for part ATtiny13
avrdude: Yikes! Invalid device signature.
double check connections and try again, or use -F to
override
this check
can someone please tell me why its doing this? because its been driving nuts.
Reading back through this I'm not precisely sure where you are at when you get this error. Presumably your ArduinoISP sketch is loaded okay, then you've wired everything back up as per the tutorial so you're ready to program the ATTiny (added the reset capacitor and other wires to Arduino) then you've changed the target board to the correct ATTiny13, and changed the programmer to Arduino as ISP, then you've done the "burn the bootloader" step (or is this where you're getting the error) and now you're trying to upload a sketch and getting the error?
Another thing you can try is move the ATTiny to the opposite side of that breadboard and hook up there.
All I can say is I followed the same directions that you used and it loaded the first time. I verified the core on all three frequencies and they worked. No passive componets used (i.e. capacitors, resistors except the LED) just straight from D10-13 and power.
Is your "core13" folder (must be exact, no caps) in \hardware\arduino\cores next to the "arduino" core folder?
Reading back through this I'm not precisely sure where you are at when you get this error. Presumably your ArduinoISP sketch is loaded okay, then you've wired everything back up as per the tutorial so you're ready to program the ATTiny (added the reset capacitor and other wires to Arduino) then you've changed the target board to the correct ATTiny13, and changed the programmer to Arduino as ISP, then you've done the "burn the bootloader" step (or is this where you're getting the error) and now you're trying to upload a sketch and getting the error?
that is correct.
I get the error regardless of what I upload. If I try to burn the bootloader I get the error, or if I try to upload a sketch I get the error.
"Is your "core13" folder (must be exact, no caps) in \hardware\arduino\cores next to the "arduino" core folder?"
yes it is in that folder
and I will try moving the chip to the other side of the breadboard also.
BTW, I just switched to an Uno and the reset cap is unnecessary, and all three speeds work; blinking on pin3 of the ATTiny. I have Uploaded via Programmer and just the Normal Upload button (I didn't know that would work...).