I've just ask to intalian forum but without success ( they help me but doesn't work )
I need to use at2560 at 20mhz becouse I need to drive matrix display
( 2 project one with sure 3216 bicolor 3 panel and one with rgb matrix panel by adafruit)
So this is why I need more "power"!
They suggest to me to change ( add) in board.txt file the atmega configuration at 20mhz (done)
Now with a 20mhz oscillator board doesn't work probably becouse the bootloader don't accept new oscillator.
So I need a bootloader that works at 20mhz. I think I should burn it via icsp.
So they posted ( see in italian section) the hex file for bootloader for 20mhz oscillator.
The problem appear when ilI try to burn it. ( see the picture for error)
The original bootloader is 21kb while the midified 25kb
Could someone post a working bootloader for atmega2560 that run at 20mhz ?
First you have to have working AVR tools. It requires defined path to AVR tools if Windows.
In Arduino ..\hardware\arduino\bootloaders\stk500v2 (for mega2560) folder are files which you need .
Makefile is a script, there is the mega2560 section and there is F_CPU value in Hz. You can put there what you need and then simply run in CMD "make mega2560" (you have to be in folder). That's it.