atmega32-avr.com
Teaching bootloader for ATmega328P. Compiled but not run on hardware.
avr-gcc -Os -mmcu=atmega328p -Wl,--section-start=.text=0x7C00 -o bootloader.elf bootloader.c
It needs the BOOTSZ fuses set for a 1024 byte boot section and BOOTRST programmed. Read the page first.
