I'm done with building my first bigger project using an Arduino Micro. Now I want to program the atTiny84A, which seems to be perfect for the project. I red all examples about how to use an Arduino Uno as an ISP, but I'm not sure if these guides work with my 84A. So here is what I made: I flashed the ISP sketch to my arduino (right COM-Port, board set to Arduino Micro, Programmer set to avr isp witch is default). According to the comments in the ISP sketch I added some LED's (heartbeat, error, programming). After flashing, the heartbeat LED pulses -> Very nice, it worked!
The comments also told me the following:
// pin name: not-mega: mega(1280 and 2560) // slave reset: 10: 53 // MOSI: 11: 51 // MISO: 12: 50 // SCK: 13: 52
I red the data sheet (http://www.atmel.com/Images/8183S.pdf) of the 84A to find the right pins, and so I connected arduino-pin 10 to RESET-pin of the 84A, 11 to MOSI, 12 to MISO and 13 to SCK. GND and VCC is also clear!
Now I opened the blink sketch (changed pin from 13 to 0), switched the programmer to Arduino as ISP and selected atTiny84 @ 20 MHz as board. After uploading, the log (update.verbose=true) shows me the following:
C:\Arduino\arduino-1.0.4\hardware/tools/avr/bin/avrdude -CC:\Arduino\arduino-1.0.4\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pattiny84 -cstk500v1 -P\\.\COM13 -b19200 -Uflash:w:C:\Users\Flips\AppData\Local\Temp\build746589376383792063.tmp\Blink.cpp.hex:i avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "C:\Arduino\arduino-1.0.4\hardware/tools/avr/etc/avrdude.conf" Using Port : \\.\COM13 Using Programmer : stk500v1 Overriding Baud Rate : 19200 avrdude: Send: 0   avrdude: Send: 0   avrdude: Send: 0   avrdude: Recv: avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude done. Thank you. [\code] Btw, neither the error nor the programming LED turned on... I know that this error tells me that there seems to be no connection at all, connection between arduino and the 84A. But why? Does anyone know how to connect the pins correctly? Thanks, Flips