How to load bootloader into chip ATmega8515L - please help

Hello,
i would like to ask you for help, because nowhere on the web i found the answer.

I have bought ArduinoUNO and everything was super.
But - before month i bought chips ATMega8515L and i need to load bootloader into the chip.

I did this:

In menu „File\Preferences\Additional boards manager URLs“ i put new link:
https://mcudude.github.io/MajorCore/package_MCUdude_MajorCore_index.json
In menu „Tools\Board\Boards manager“ i scrolled to „MajorCore by MCUdude“ and choosed „install“
In menu „Tools\Board“ then i see: „MajorCore/ATmega8515“. Good.

Into Arduino UNO i loaded „File\Examples\ArduinoISP\ArduinoISP“, and then i unplugged PC.

I connected ATmega8515L on breadboard:

UNO (5V) ---> ATMega8515L (pin 40 - 5V)
UNO (GND) ---> ATMega8515L (pin 20 - GND)
UNO (pin10) ---> ATMega8515L (pin 9 - reset)
UNO (pin11) ---> ATMega8515L (pin 6 - MOSI)
UNO (pin12) ---> ATMega8515L (pin 7 - MISO)
UNO (pin13) ---> ATMega8515L (pin 8 - SCK)

On ATMega8515L pins 18 (XTAL2) and 19 (XTAL1) i connected crystal 16 Mhz and capacitors 22 pF to GND.
And onArduino UNO i used electrolyt. capacitor 10 mikrofaradu between RESET-GND (minus to GND).

then i connect PC.

I choose in menu:
„Tools\Board\ATmega8515“
„Tools\BOD\2.7v“
„Tools\Clock\16MHz external“
„Tools\Compiler LTO: Disabled (default)“
„Tools\Programator\Arduino as ISP“
and i tryied: „Tools\Burn bootloader“

But i get:

================================================================================================================================================
Arduino: 1.8.3 (Windows 10), Vývojová deska: "ATmega8515, 2.7v, Disabled (default), 16 MHz external"

C:\Arduino\hardware\tools\avr/bin/avrdude -CC:\Users\zdenek.zubr\AppData\Local\Arduino15\packages\MajorCore\hardware\avr\1.0.1/avrdude.conf -v -patmega8515 -cstk500v1 -PCOM8 -b19200 -e -Ulock:w:0x3f:m -Uefuse:w:{bootloader.extended_fuses}:m -Uhfuse:w:0xd4:m -Ulfuse:w:0b10111111:m

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Users\zdenek.zubr\AppData\Local\Arduino15\packages\MajorCore\hardware\avr\1.0.1/avrdude.conf"

Using Port : COM8
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega8515
Chip Erase delay : 9000 us
PAGEL : P00
BS2 : P00
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 0 0 9000 9000 0xff 0xff
flash 33 6 64 0 yes 8192 64 128 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 0 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 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

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

avrdude: Device signature = 0x000000 (retrying)

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

avrdude: Device signature = 0x000000 (retrying)

Chyba při vypalování zavaděče.
Reading | ################################################## | 100% 0.02s

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

avrdude done. Thank you.

================================================================================================================================================

I tryied use 3.3V Arduina – unfortunatelly - same result.
I tryied use variations of BOD, Compiler LTO, internal/external crystal - unfortunatelly - same result.
I tryied put between RESET of chip and 5V rezistor - unfortunatelly - same result.

I normally programm ATTiny85 on breadboard via Arduino ISP (only with different core) - all is ok, chips ATTiny are normally programmed (including burning bootloaders).

Thank you very much for any idea.

Try burning the bootloader with 8MHz (internal) selected, just to see if anything changes.

Also make sure you have the decoupling capacitor between VCC and GND.

Double and triple check your connections and check continuity on each lead.

Make sure you still have the "Arduino as ISP sketch loaded. I am so used to hitting the Upload button that several times I have wiped out the ISP sketch.

Hello there!

I just had the same issue with my Arduino Mega board that I designed. The issue for me that caused this error was that the resonator I was using for the 2560 was burnt and replacing it fixed the issue.

Do you have an oscilloscope that you can use to probe the two XTAL channels?

Hello answehring people !!!
I supposed, that when somebody reply me, i get email.
But no email i have got to this day, so i tought, that nobody answehred me.
Today, after long time i checked web (because we have still same problem and nobody around us can help) and i see that 2 answehrs i have.
I thank you, 2 people, wery much for your answehrs !!!
Starting this day i will check replies every day morning.

I tryied burning the bootloader with 8MHz (internal) selected - unfortunatelly - same result.
Yes, i have decoupling capacitor between VCC and GND.
Milion times we checked connections and checked continuity on each lead.
Yes, "Arduino as ISP" sketch is loaded.
We tryied 4 different XTALs (all works in another projects) - unfortunatelly - same result.
We do not have oscilloscope - we are only amateurs :frowning: