I'm playing with atmega324p and try run bootloader.
But I can't connect avrdude to upload flash. Please did someone try this bootloader.
1/ I downloaded bootloader from sanguino.cc (Sanguino-0023r4.zip). It should support m324p chip.
2/ I changed the "chip" and "section-start" in the makefile (see attachment bootloader_324p.zip)
3/ I burned it to atmega324p and set "fuse SPM prohibited in bootsection" with avrdragon & AvrStudio4
4/ if I push & release the EXT_RESET button, the PB0 LED blinks shortly and stays off.
5/ I connected the RS232 cable (max232) to UART0 to RX0 and TX0 pins.
6/ if I push & release the EXT_RESET button and start avrdude, the PB0 LED blinks shortly and stays lit on.
7/ $ avrdude -p m324p -c avrisp -P com1 -b 19200 -U flash:r:readout.hex:i
avrdude.exe: stk500_getsync(): not in sync: resp=0x00
avrdude.exe done. Thank you.
8/ it seems, the PC sends some chars and the bootloader does't answer. I have loaded the bootloader *.elf to AvrStudio and was stepping in simulator. The UART0 speed should be OK.