I keep trying to change the old bootloader on my nano (update it) through the MEGA.
I have connected the pins :
mega - 50,51,52,53 -> Slave/Nano iCsp pins (did this and rechecked 5 times) As in photo.
I can Upload the ArduinoISP to the mega, no problem, but when I want to Burn Bootloader I can't.
"avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check."
Attatched the Log/verboise.
Please help! And thank you for your time
I did try to check if there are people with the same issue, but I could not find it.
This has started from trying to flash something (Klipper from Raspberry) and noticed I get "not in sync"
The same thing I get when I try to upload anything on the NANO if I don't use old bootloader selected (in the tab) and try using just 328p.
Thus I thought I'd try updating the bootloader, maybe that will fix my problem.
No clue what to do.
Error.txt (3.56 KB)
Which sketch exactly. It can be pin 10 instead of 53 for reset. Check it in the source code, right at the beginning.
It was 10. THANK YOU! Honestly could not find it any documentation but it worked. I knew that since the pins were moved on the mega it shouldn't work. Yey. Thank you again.
vrdude: 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:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
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.02s
avrdude: Device signature = 0xffffff (probably .avr8x_mega) (retrying)
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0xffffff (probably .avr8x_mega) (retrying)
Error while burning bootloader.
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0xffffff (probably .avr8x_mega)
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
It stopped working today...
Does this mean I burned it by mistake? The wires are the same but it's not working anymore... Any clue ?
You probably have some shortage on wires.
I realized I put the Nano on the CNC shield - the wrong way. Sigh. Maybe that fried it.
Either way, thank you. Tried another nano and everything works.