Expected signature for ATmega8 is 1E 93 07

Hello there, I was trying to bootload atemga 8a pu using arduino nano but it fails ans shows the below massage :

Arduino: 1.8.18 (Windows 10), Board: "Arduino NG or older, ATmega8"

avrdude: Expected signature for ATmega8 is 1E 93 07

     Double check chip, or use -F to override this check.

Error while burning bootloader.

Hi @aaqib_saad. I'm going to ask you to post some additional information that might help us to identify the problem.


:exclamation: NOTE: These instructions will not solve the problem. They are only intended to gather more information about the problem.


Please do this:

  1. Select File > Preferences... from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Check the box next to "☐ Show verbose output during: upload" in the "Preferences" dialog.
  3. Click the OK button.
  4. Select Tools > Burn Bootloader from the Arduino IDE menus.
  5. After the "Burn Bootloader" process fails, you'll see a button on the right side of the orange bar: Copy error messages. Click that button.
  6. Open a forum reply here by clicking the Reply button.
  7. Click the <CODE/> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code tags icon on toolbar
  8. Press Ctrl+V. This will paste the compilation output into the code block.
  9. Move the cursor outside of the code block markup before you add any additional text to your reply.
  10. Click the Reply button to post the output.

Thank You for acknowledgement. I have tried all the YouTube solutions and Arduino forum solutions like changing the arvdude.conf file, downloading minicore etc etc. But it all didn't work.

here is the verbose error massage :
it shows two different massage

first One :

Arduino: 1.8.18 (Windows 10), Board: "Arduino NG or older, ATmega8"

Sketch uses 3640 bytes (50%) of program storage space. Maximum is 7168 bytes.

Global variables use 200 bytes (19%) of dynamic memory, leaving 824 bytes for local variables. Maximum is 1024 bytes.

C:\Users\prana\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\prana\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega8 -cstk500v1 -PCOM3 -b19200 -Uflash:w:C:\Users\prana\AppData\Local\Temp\arduino_build_312449/L293d_dc_motor_speed_control.ino.hex:i 



avrdude: Version 6.3-20190619

         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         Copyright (c) 2007-2014 Joerg Wunsch



         System wide configuration file is "C:\Users\prana\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"



         Using Port                    : COM3

         Using Programmer              : stk500v1

         Overriding Baud Rate          : 19200

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x15

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x15

         AVR Part                      : ATmega8

         Chip Erase delay              : 10000 us

         PAGEL                         : PD7

         BS2                           : PC2

         RESET disposition             : dedicated

         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         4    20   128    0 no        512    4      0  9000  9000 0xff 0xff

           flash         33    10    64    0 yes      8192   64    128  4500  4500 0xff 0x00

           lfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00

           hfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00

           efuse          0     0     0    0 no          0    0      0     0     0 0x00 0x00

An error occurred while uploading the sketch

           lock           0     0     0    0 no          1    0      0  2000  2000 0x00 0x00

           calibration    0     0     0    0 no          4    0      0     0     0 0x00 0x00

           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00



         Programmer Type : STK500

         Description     : Atmel STK500 Version 1.x firmware



avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14



avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x02



avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10

         Hardware Version: 4744608

         Firmware Version: 0.4611299

         Topcard         : STK502

         Vtarget         : 1.8 V

         Varef           : 0.0 V

         Oscillator      : Off

         SCK period      : 0.1 us



avrdude: stk500_initialize(): (b) protocol error, expect=0x10, resp=0x01

avrdude: initialization failed, rc=-1

         Double check connections and try again, or use -F to override

         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

avrdude done.  Thank you.




**second one :**


Arduino: 1.8.18 (Windows 10), Board: "Arduino NG or older, ATmega8"

Sketch uses 3640 bytes (50%) of program storage space. Maximum is 7168 bytes.

Global variables use 200 bytes (19%) of dynamic memory, leaving 824 bytes for local variables. Maximum is 1024 bytes.

C:\Users\prana\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\prana\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega8 -cstk500v1 -PCOM3 -b19200 -Uflash:w:C:\Users\prana\AppData\Local\Temp\arduino_build_312449/L293d_dc_motor_speed_control.ino.hex:i

avrdude: Version 6.3-20190619

     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

     Copyright (c) 2007-2014 Joerg Wunsch



     System wide configuration file is "C:\Users\prana\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"



     Using Port                    : COM3

     Using Programmer              : stk500v1

     Overriding Baud Rate          : 19200

     AVR Part                      : ATmega8

     Chip Erase delay              : 10000 us

     PAGEL                         : PD7

     BS2                           : PC2

     RESET disposition             : dedicated

     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         4    20   128    0 no        512    4      0  9000  9000 0xff 0xff

       flash         33    10    64    0 yes      8192   64    128  4500  4500 0xff 0x00

       lfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00

       hfuse          0     0     0    0 no          1    0      0  2000  2000 0x00 0x00

       efuse          0     0     0    0 no          0    0      0     0     0 0x00 0x00

       lock           0     0     0    0 no          1    0      0  2000  2000 0x00 0x00

       calibration    0     0     0    0 no          4    0      0     0     0 0x00 0x00

       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00



     Programmer Type : STK500

     Description     : Atmel STK500 Version 1.x firmware

     Hardware Version: 2

     Firmware Version: 1.18

     Topcard         : Unknown

     Vtarget         : 0.0 V

     Varef           : 0.0 V

     Oscillator      : Off

     SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

An error occurred while uploading the sketch

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0xff00ff

avrdude: Expected signature for ATmega8 is 1E 93 07

     Double check chip, or use -F to override this check.

avrdude done. Thank you.

All this won't help with such signature:

As said in the programmator output, it is a connection problem or your MCU is dead.

Good news here, today I have bootloaded and uploaded the blink sketch successfully without any change to previous wiring or software. But it only worked one time the minute after it shows the same error as mentioned earlier.
What to do next?
Can you share the wiring diagram?

I'm glad you were able to complete a "Burn Bootloader" and upload operations.

The fact it worked once indicates that your wiring is already correct. The problem with it not working the second time might be caused by an intermittent connection in the wiring. I recommend carefully checking all the wires to make sure they have good connections. It is even possible that there is an internal break in a jumper wire. If you have a multimeter with a continuity tester setting (usually marked with a diode symbol), you can easily check that there is continuity on all the wiring segments of your circuit.

If you post a clear picture of your wiring in a forum reply here, the forum helpers might be able to spot a problem.

Yeah SIR, you were right. I have checked the continuity using multimeter. there was a slight slack in one of the wires. It connect in one angle but disconnect in other angle.
By replacing that wire it worked.
Such a respite !! Thank You brother.

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.