MCUdude / MegaCore

Arduino hardware package for ATmega64, ATmega128, ATmega165, ATmega169, ATmega325, ATmega329, ATmega640, ATmega645, ATmega649, ATmega1280, ATmega1281, ATmega2560, ATmega2561, ATmega3250, ATmega3290, ATmega6450, ATmega6490, AT90CAN32, AT90CAN64 and AT90CAN128
Other
374 stars 115 forks source link

"Burn Bootloader" that can only be used once #182

Closed 13507086298 closed 2 years ago

13507086298 commented 2 years ago

I write the Atmega128 via "Burn Bootloader" and it works fine, but after I upload the sketch once via UART1, the Bootloader doesn't work anymore, which means "Burn Bootloader" is a one-off in my actual use. I would like to know how to keep the "Burn Bootloader". Allows me to upload sketches via UART1 each time image image image image But I will go up the grass map again, there will be an error. image This indicates that Bootloader has failed. I can make UART1 get the sketch through UART1 by using Tools-> Burn Bootloader, and it will fail again after success.

tomaskovacik commented 2 years ago

did you implemented auto-reset circuit?

13507086298 commented 2 years ago

@tomaskovacik Thank you very much for your reminder, I have an Auto-reset circuit, but it doesn't seem to work, I can upload normally after I reset it manually, I will check my hardware circuit. thank you very much