I have an Atmega8 chip and a parallel AVR programmer.
i have inserted the Atmega8 and selected the “Diecimilia” option in Board menu in arduino 0016, and the parallel programmer option in Burn Bootloader menu.
but i keep getting a message that says :
Expected signature for ATMEGA16 is … (i don’t remember).
.
even when i choose the Arduino NG board w/Atmega8, i get a message :
Expected signature for ATMEGA8 is 1E 93 07
I was not able to burn the bootloader to my Atmega8 using the parallel programmer via Arduino.
What am i wondering is that in the tutorial (which is about Atmega8) it is just told to use one of these ways.
Please let me know if i am mistaking any steps, or if i should do any thing additional.
i have inserted the Atmega8 and selected the "Diecimilia"
and it reports:-
Expected signature for ATMEGA16 is ..
So clearly it is expecting to program a 168 not an 8 chip.
even when i choose the Arduino NG board w/Atmega8, i get a message :
Expected signature for ATMEGA8 is 1E 93 07
You might have blown the signature bits, are you applying an external clock at this time? That is do you have a crystal attached to your chip? The data sheet says:-
Signature may be Erased in Serial Programming Mode
If the signature bytes are read before a chiperase command is completed, the signature may
be erased causing the device ID and calibration bytes to disappear. This is critical, especially,
if the part is running on internal RC oscillator.
Problem Fix / Workaround:
Ensure that the chiperase command has exceeded before applying the next command.
Try and change the code so you can see what signature bits you are reading.
Ironically the parallel programmer uses the serial programming command set, it's just the PC interface that is parallel not the ATmega.
Does it give up when it gives that error? The parallel port programmer in Arduino is configured to use the -F option to avrdude, which should continue burning even if there is a signature mismatch.