YIKES error for bootloader

Hello Forum,

I am having some issues boot loading a new chip. I am using the Arduino as an ISP, and using the using the Minimal Circuit (Eliminating the External Clock) bootloader.

After I download the code to the UNO i get this error

Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "ATmega328 on a breadboard (8 MHz internal clock)"

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xE2:m

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM3
Using Programmer : arduino
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 : Arduino
Description : Arduino
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.01s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Error while burning bootloader.
Reading | ################################################## | 100% 0.01s

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.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Not sure what to do about this.

So far I have tried putting a cap on the ground and reset pin. Tried restarting the app. Also triple checked my wiring.

Assuming you have the wiring correct. Are you sure the fuses for your MCU has not been preset for an external crystal/oscillator?

Secondly. If you have not already done so, may I suggest you install MiniCore from here. It allows you to select the required options from the Tools menu - no messing with a custom boards file entry.

I use the above all the time and it works great (although I use a 16MHz external crystal). If you have any further problems I can show you my breadboard layout and connections.

Willem.

Willem43:
Assuming you have the wiring correct. Are you sure the fuses for your MCU has not been preset for an external crystal/oscillator?

Secondly. If you have not already done so, may I suggest you install MiniCore from here. It allows you to select the required options from the Tools menu - no messing with a custom boards file entry.

I use the above all the time and it works great (although I use a 16MHz external crystal). If you have any further problems I can show you my breadboard layout and connections.

Willem.

I am not sure how to check the fuses. It's possible that they are. Is there a way to change the fuses back ?

I am going to order some oscillators.

I have a very small space requirement in which having an external clock is kind of inconvenient. If I bootload with the external clock wont that mean I have to use one ?

If the fuses are currently set for an external clock you will need to connect an external crystal to initially access the MCU.

Once that works you can burn a bootloader setting the fuses for the internal clock and remove the external crystal.

Willem.

I am going to order some oscillators.

No need. You can use just about anything to supply a clock signal, including a timer on another Arduino, as described here. Scroll down to "alternate clock source".