Problems with Attiny2313 and Arduino ISP

Hello friends, I am Nataly López from Venezuela!

In the past, I have been playing with the Attinys45/85 without any problems at all. I have been able to program them without any trouble at all. Yet I have been trying to do the same with ATTINY2313-20PU, and I am running into this frustrating error:

avrdude: Expected signature for ATtiny2313 is 1E 91 0A
         Double check chip, or use -F to override this check.

I should mention that I am using the Arduino 1.0.1 IDE, and I have correctly installed the Tiny directory inside /arduino-1.0.1/hardware/

The contents of my boards.txt file is the following: http://pastebin.com/pTSY9SPv

and I have activated the verbose mode to obtain more information, and here's what I get:

Tamaño binario del Sketch: 812 bytes (de un máximo de 2.048 bytes)
C:\Users\NAT\APPS\arduino-1.0.1\hardware/tools/avr/bin/avrdude -CC:\Users\NAT\APPS\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pattiny2313 -cstk500v1 -P\\.\COM4 -b19200 -Uflash:w:C:\Users\NAT\AppData\Local\Temp\build1860056478799146571.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:\Users\NAT\APPS\arduino-1.0.1\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM4
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
         AVR Part                      : ATtiny2313
         Chip Erase delay              : 9000 us
         PAGEL                         : PD4
         BS2                           : PD6
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65     6     4    0 no        128    4      0  4000  4500 0xff 0xff
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65     6    32    0 yes      2048   32     64  4500  4500 0xff 0xff
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware
avrdude: Send: A [41] . [80]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [02] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [81]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [01] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [82]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [12] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [98]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
avrdude: Send: A [41] . [84]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [85]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [86]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [87]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [89]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: Send: A [41] . [81]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [01] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [82]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [12] 
avrdude: Recv: . [10] 
avrdude: Send: B [42] # [23] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00]   [20] . [00] . [80] . [00] . [00] . [08] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: E [45] . [05] . [04] . [d4] . [d6] . [01]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: Send: P [50]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: AVR device initialized and ready to accept instructions

Reading | avrdude: Send: V [56] 0 [30] . [00] . [00] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: V [56] 0 [30] . [00] . [01] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
################avrdude: Send: V [56] 0 [30] . [00] . [02] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
################################## | 100% 0.06s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

avrdude: Send: Q [51]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 

avrdude done.  Thank you.

Would anybody have an idea about this problem?

I have uploaded the ArduinoISP to the Arduino UNO.

I have correctly connected the attiny2313 pins to the Arduino UNO.

I have exchanged the boards (Arduino UNO with "ATtiny2313 @ 1MHZ").

I have tried by "Recording the initialization sequence".

I have also tried uploading the sketch using "ATtiny2313 @ 8MHZ"

I have also tried uploading the sketch by placing the electrolytic condenser between GND and RESET in the Arduino UNO.

I also tried uploading the sketch by using the 10k pull up resistor in Attiny2313's pin 1.

Here is a review of my Attiny2313 conections with the Arduino UNO:

pin (1) Attiny2313 to pin(10) Arduino UNO pin (17) Attiny2313 to pin(11) Arduino UNO pin (18) Attiny2313 to pin(12) Arduino UNO pin (19) Attiny2313 to pin(13) Arduino UNO

pin (20) Attiny2313 to vcc +5V pin (10) Attiny2313 to masa GND

Nothing I have done works! I am still getting the same error!

I have also tried with other Attinys2313, and they are all giving me the same result! Error!

Please help!!!

Hello Nataly López from Venezuela!

avrdude: Device signature = 0x000000

...usually indicates a wiring problem between the "programmer" (your Arduino Uno) and the "target" (the ATtiny2313). I'll be back in a few minutes after I've compared your description of the wiring with the datasheet.

pin (1) Attiny2313 to pin(10) Arduino UNO

RESET to SS. Looks good.

pin (17) Attiny2313 to pin(11) Arduino UNO

PB5 (MOSI) to MOSI. Good.

pin (18) Attiny2313 to pin(12) Arduino UNO

PB6 (MISO) to MISO. Good.

pin (19) Attiny2313 to pin(13) Arduino UNO

PB7 (USCK) to SCK. Good.

pin (20) Attiny2313 to vcc +5V

Good.

pin (10) Attiny2313 to masa GND

Good.

As far as I can tell you have the correct connections.

Check for loose connections / broken wires. Try to keep all the wires “short” (I use wires <= 10 cm).

Other than your Arduino Uno, is anything connected to the ATtiny2313?

You can safely put an LED + current limiting resistor on each of the MISO, MOSI, and SCK lines (connected from the pin to GND). All three should blink while uploading.