# i cant upload  boot loader to atmega 8

**URL:** <https://forum.arduino.cc/t/i-cant-upload-boot-loader-to-atmega-8/503027>\
**Category:** 3rd Party Boards\
**Created:** [January 19, 2018, 3:03am UTC](https://forum.arduino.cc/t/i-cant-upload-boot-loader-to-atmega-8/503027 "2018-01-19T03:03:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohmdth110](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@mohmdth110](https://forum.arduino.cc/u/mohmdth110)\
**Post date:** [January 19, 2018, 3:03am UTC](https://forum.arduino.cc/t/i-cant-upload-boot-loader-to-atmega-8/503027/1 "2018-01-19T03:03:31Z")

</div>

hi ...  
i am trying to upload bootloader from arduino uno as (arduinoISP)to atmega 8 but i cant do that  
and this error accourse  
1.6.3 (Windows 7):"Arduino Uno"

E:\Arduino\hardware\tools\avr/bin/avrdude -CE:\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cstk500v1 -PCOM1 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m

avrdude: Version 6.0.1, compiled on Mar 30 2015 at 14:56:06

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

Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "E:\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM1

Using Programmer : stk500v1

Overriding Baud Rate : 19200

AVR Part : ATmega328P

Chip Erase delay : 9000 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 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff

flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff

lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00

calibration 0 0 0 0 no 1 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

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0xffffff (retrying)

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0xffffff (retrying)

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0xffffff

avrdude: Yikes! Invalid device signature.

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

this check.

avrdude done. Thank you.

---

<div class="post-metadata">

**Author:** ![pert](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/pert/32/217111_2.png) [@pert](https://forum.arduino.cc/u/pert)\
**Post date:** [January 19, 2018, 3:34am UTC](https://forum.arduino.cc/t/i-cant-upload-boot-loader-to-atmega-8/503027/2 "2018-01-19T03:34:23Z")

</div>

Please use code tags ( **\</\>** button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. If your browser doesn't show the posting toolbar then you can just manually add the code tags:  
`[code]``[color=blue]// your code is here[/color]``[/code]`  
Using code tags and other important information is explained in the [How to use this forum post](http://forum.arduino.cc/index.php/topic,148850.0.html). Please read it.

You have Arduino Uno selected from the **Tools \> Board** menu but you say the target chip is ATmega8. The Arduino Uno is ATmega328P. Before running the Tools \> Burn Bootloader process you need to select the board that matches the configuration of your target chip. One possible option is to select **Tools \> Board \> Arduino NG** or older and then **Tools \> Processor \> ATmega8**. That requires a 16 MHz external clock. If I remember correctly, the Arduino AVR Boards package that comes with Arduino IDE 1.6.3 does not correctly support the ATmega8. You will need to update your Arduino IDE to a relatively recent version if you want to use that board selection.

If you need a different hardware configuration I recommend MiniCore:

> **[GitHub - MCUdude/MiniCore: Arduino hardware package for ATmega8, ATmega48,...](https://github.com/MCUdude/MiniCore)**
>
> Arduino hardware package for ATmega8, ATmega48, ATmega88, ATmega168, ATmega328 and ATmega328PB - GitHub - MCUdude/MiniCore: Arduino hardware package for ATmega8, ATmega48, ATmega88, ATmega168, ATme...

which supports ATmega8 in all common hardware configurations.

Now after all that I suspect this device signature 0xffffff indicates another problem as well but get started with the correct board selection first.

---

<div class="post-metadata">

**Author:** ![hieunguyen14197](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@hieunguyen14197](https://forum.arduino.cc/u/hieunguyen14197)\
**Post date:** [January 21, 2018, 4:28pm UTC](https://forum.arduino.cc/t/i-cant-upload-boot-loader-to-atmega-8/503027/3 "2018-01-21T16:28:28Z")

</div>

use this [arduinoisp](https://drive.google.com/file/d/1Kys4cWy_9f-7XupZiKvIQ7gcq5Rf9qdI/view?usp=sharing) code to arduino board and try again you will done. sorry for my english.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 5:12pm UTC](https://forum.arduino.cc/t/i-cant-upload-boot-loader-to-atmega-8/503027/4 "2021-05-06T17:12:20Z")

</div>

Closed on May 6, 2021, 5:12pm UTC


