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

Need a Bootloader for ATmega2561 working on 12.500 MHz #173

Closed miksumin closed 2 years ago

miksumin commented 2 years ago

I am using MegaCore with ATMega2561 working on External 12.500 MHz frequency but there is no Optiboot bootloader for it. Can you please build it for me?

MCUdude commented 2 years ago

It's all there. Build it yourself, it's a good learning experience

miksumin commented 2 years ago

I don't have 'make' package

miksumin commented 2 years ago

There is no ......\tools\avr\utils\bin\make

miksumin commented 2 years ago

Please help

miksumin commented 2 years ago

make atmega2561 AVR_FREQ=12500000L BAUD_RATE=115200 LED=G0 LED_START_FLASHES=2 UART=0/1

MCUdude commented 2 years ago

A baud rate of 115200 at 12.5 MHz wouldn't work at all. Too much error. Look at the U2X=1 field, that's what the bootloader uses. Choose a green baud rate instead.

Skjermbilde 2021-07-30 kl  19 59 34
miksumin commented 2 years ago

Ok, I hope 57600 would be ok. So let's use the following: make atmega2561 AVR_FREQ=12500000L BAUD_RATE=57600 LED=G0 LED_START_FLASHES=2 UART=0/1

MCUdude commented 2 years ago

OK, here you go.

12500000L.zip

miksumin commented 2 years ago

Many thanks