I watched the following video on how to change bootloader of an Arduino Uno with a 20MHz resonator: Arduino Uno 20MHz Bootloader
But I need to customize the bootloader of an Arduino Nano with ATmega328p, so that it can work with 20MHz crystal, and following fuse bits: LOW: 0xFF HIGH: 0xD1 EXTENDED: 0xFF
There is no omake file in the same directory. So even if I make changes to the "ATmegaBOOT_168.c" file in the atmega folder, how can I run omake?!
Also, I was wondering if I could make changes to the "ATmegaBOOT_168.c" file so that I could extend the time out of the bootloader?
And also, is there a way to jump to bootloader from the application? Does this command work in my application? asm volatile (" jmp 30720");