1/ I have device atmega324p, I downloaded the bootloader from site: https://github.com/magnuskarlsson/SDLogger/wiki/Arduino-howto
2/ I modified a little bit the "Makefile" and "ATmegaBOOT.c" for chip atmega324p, speed 19200, cpu_speed 16MHz
3/ I burned it by avrdragon
4/ I joined RS232-TTL (max232) cabel to PC and to the chip5/ I made a successful test:
$ avrdude -c avrisp -p m324p -P com1 -b 19200 -F -U flash:r:readout:i6/ but writing doesn't work
$ avrdude -c avrisp -p m324p -P com1 -b 19200 -F -U flash:w:main_blinking.hex:i
What is wrong?
Please any advice how to upload atmega324p chip?
Or does someone provide Arduino IDE files for chip atmega324p?