Do you have another Arduino? you can use it erase the old sketc and to burn the bootloader.
i do have an arduino nano , arduino uno and a node mcu v2
Very good. There is many info out there on how to burn a bootloader using an Arduino Uno. You could try this one.
If you have the Homemade packagage installed, I recommend to choose the Cathy 3K bootloader - starts with game instead of the Leonardo one and burn that one. Will be much easier to recover from a bad sketch.
Ok im going to try that one because the console is soldered up and i cannot jut replace the board
Ah yes, there’s the 90s nostalgia you wanted
Edit: My bad wrong person
thank you im going to find the uno
result still the same
Szkic używa 6548 bajtów (22%) pamięci programu. Maksimum to 28672 bajtów.
Zmienne globalne używają 447 bajtów (17%) pamięci dynamicznej, pozostawiając 2113 bajtów dla zmiennych lokalnych. Maksimum to 2560 bajtów.
Wymuszam reset używając 1200bps otwórz/zamknij na porcie COM7
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
Uploading using selected port: COM7
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM7 -b57600 -D -Uflash:w:C:\Users\HP\AppData\Local\Temp\arduino_build_97868/ArduinoISP.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:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 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 : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "F"; type =
Software Version = .; Hardware Version = �.
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: error: programmer did not respond to command: exit bootloader
avrdude done. Thank you.
wybrany port szeregowy
nie istnieje albo Twoja płytka nie jest podłączona
Have you done these steps?
- select Arduino UNO as board.
- upload Arduino as ISP example to your Uno
- wire up your Pro Micro to Uno
- select Leonardo (or DIY Arduboy with correct settings) board
- select Arduino as ISP as programmer
- burn bootloader
yes im going to try this one more time
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:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
Using Programmer : stk500v1
Overriding Baud Rate : 19200
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 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 = 0x1e9587 (probably m32u4)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "C:\Users\HP\Documents\ArduinoData\packages\arduboy-homemade\hardware\avr\1.3.8/bootloaders/cathy3k/arduboy3k-bootloader-menu-promicro-sh1106.hex"
avrdude: writing flash (32768 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 32768 bytes of flash written
avrdude: verifying flash memory against C:\Users\HP\Documents\ArduinoData\packages\arduboy-homemade\hardware\avr\1.3.8/bootloaders/cathy3k/arduboy3k-bootloader-menu-promicro-sh1106.hex:
avrdude: load data flash data from input file C:\Users\HP\Documents\ArduinoData\packages\arduboy-homemade\hardware\avr\1.3.8/bootloaders/cathy3k/arduboy3k-bootloader-menu-promicro-sh1106.hex:
avrdude: input file C:\Users\HP\Documents\ArduinoData\packages\arduboy-homemade\hardware\avr\1.3.8/bootloaders/cathy3k/arduboy3k-bootloader-menu-promicro-sh1106.hex contains 32768 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% -0.00s
avrdude: verifying ...
avrdude: 32768 bytes of flash verified
avrdude: reading input file "0x3F"
avrdude: writing lock (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0x3F:
avrdude: load data lock data from input file 0x3F:
avrdude: input file 0x3F contains 1 bytes
avrdude: reading on-chip lock data:
Reading | ################################################## | 100% 0.01s
avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude done. Thank you.
is that good
when i uploaded an empty sketch to it after the burn still no luck `szkic używa 3296 bajtów (11%) pamięci programu. Maksimum to 29696 bajtów.
Zmienne globalne używają 150 bajtów (5%) pamięci dynamicznej, pozostawiając 2410 bajtów dla zmiennych lokalnych. Maksimum to 2560 bajtów.
Wymuszam reset używając 1200bps otwórz/zamknij na porcie COM7
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
PORTS {COM1, COM3, COM7, } / {COM1, COM3, COM7, } => {}
Uploading using selected port: COM7
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avrdude -CC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM7 -b57600 -D -Uflash:w:C:\Users\HP\AppData\Local\Temp\arduino_build_580587/sketch_mar29a.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:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
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 9000 9000 0x00 0x00
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 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 : butterfly
Description : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = “F”; type =
Software Version = .; Hardware Version = �.
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn’t
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
wybrany port szeregowy
nie istnieje albo Twoja płytka nie jest podłączona
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: error: programmer did not respond to command: exit bootloader
avrdude done. Thank you.
`
i mean now it works but i need to connect it then disconnect and connect again but it works
i think it solved itself
Yes. It means the bootloader was successfully restored.
Good to hear the problem is solved.
you know what i just realized, my uno somehow died after i completed this its completly fried