4313 Burn Bootloader [Solved]

Open reset pin on Evil Mad... Dev board, bent pin pushed through and broke the copper on that singlesided non PTH board. What's interesting is that I have no idea of why the chip finder worked... except I had to reset the target chip too before I got a display of what was in the chip. Thank You Coding Badly, It couldn't be wired wrong and and program 85's because the ISP connections come from the pin headers to the shield isp connector, and my connections from the header to the Zif socket. all that is left is just my mod for the reset line and it's connection to D10 as per the Adafruit example.

Doc
[edited for clarity RKJ]

In trying to "Burn Bootloader" using ArduinoIDE to program the fuses I have an issue, I get this error message:

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


And this from Nick Gammon's board detector sketch

Atmega chip detector.
Entered programming mode OK.
Signature = 1E 92 0D 
Processor = ATtiny4313
Flash memory size = 4096
LFuse = 64 
HFuse = DF 
EFuse = FF 
Lock byte = FF 
Clock calibration = 56 
No bootloader support.

First 256 bytes of program memory:

0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
B0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
C0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
D0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
E0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
F0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

What Am I doing wrong? I'm using Enrieds modded IDE...
Same results with a 2313..

Doc

Turn on verbose output for uploading. Post the "invalid" signature. If it's 000000 or FFFFFF the problem is probably wiring. If it's 1E920D you will need to upgrade the toolset.

C:\Program Files (x86)\Arduino\Arduino ERW 1.0.5\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino\Arduino ERW 1.0.5\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pat. [10] ################################## | 100% 0.06savrdude.exe: Device signature = [color=red]0xff0000avrdude[/color].exe: Expected signature for ATtiny4313 is 1E 92 0D              Double check chip, or use -F to override this check.avrdude.exe: Send: Q [51]   [20] avrdude.exe: Recv: . [14] avrdude.exe: Recv: . [10] avrdude.exe done.  Thank you.

This is the whole dump for ERW Ver 1.05
And this for 1.04

C:\Program Files (x86)\Arduino\Arduino ERW 1.0.4\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino\Arduino ERW 1.0.4\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM9 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m 
avrdude.exe: 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:\Program Files (x86)\Arduino\Arduino ERW 1.0.4\hardware/tools/avr/etc/avrdude.conf"              Using Port                    : \\.\COM9              Using Programmer              : stk500v1              Overriding Baud Rate          : 19200avrdude.exe: Send: 0 [30]   [20] avrdude.exe 100% 0.06savrdude.exe: Device signature = 0xffff00avrdude.exe: Expected signature for ATMEGA328P is 1E 95 0F              Double check chip, or use -F to override this check.avrdude.exe: Send: Q [51]   [20] avrdude.exe: Recv: . [14] avrdude.exe: Recv: . [10] avrdude.exe done.  Thank you.

Notice that the device signatures are different... I an using a Evil Mad... 2313 Dev board and the SPI connector to the home made Adafruit shield that programs 85's OK.. I might note that the 6 pin ISP cable from the shield is OK but 22 cm long and that the chip detector works fine. I have a jumper to move the programming reset from D10 to reset and that it is in the right place (I think) when using the chip detector I had to reset the Arduino to get a response and the reset pin on the target chip to get the data returned in my first post

Doc

Docedison:
Notice that the device signatures are different...

Doesn't matter. Any value with lots of FFs and 00s typically indicates a clocking or wiring problem and both values (0xff0000, 0xffff00) have lots of both.

I might note that the 6 pin ISP cable from the shield is OK but 22 cm long and that the chip detector works fine.

Same cable you use to program ATtiny85s?

I had to reset the Arduino to get a response and the reset pin on the target chip to get the data returned in my first post

The ArduinoISP sketch does not recover gracefully from a failure. You should reset the Arduino whenever an error occurs.

Quote from: Docedison on Today at 05:55:31 pm
Notice that the device signatures are different...

Doesn't matter. Any value with lots of FFs and 00s typically indicates a clocking or wiring problem and both values (0xff0000, 0xffff00) have lots of both.
cable length or bypassing, there are 2 100 nF caps close to the ISP connector
Quote
I might note that the 6 pin ISP cable from the shield is OK but 22 cm long and that the chip detector works fine.

Same cable you use to program ATtiny85s?
No that's onboard the shield but it is the same cable that works for the chip detector
Quote
I had to reset the Arduino to get a response and the reset pin on the target chip to get the data returned in my first post

The ArduinoISP sketch does not recover gracefully from a failure. You should reset the Arduino whenever an error occurs.
I do

Doc

You are welcome. I'm glad you have it working. Thank you for the follow-up.

Yes it was one of those "How could I have missed that"?... moments. thank you for pointing me in the right direction.

Doc