Hi all,
just a short message to thanks everybody that contribute to release avr_boot.
After a long time and many tries, I find the right flow to be able to burn the new boot loader on an atmega328p dip28 and load the blink example project into the avr from a 512Mo SD card:
-
get the github from
OpenSeaMapLogger/bootloader/avr_boot-master at master · willie68/OpenSeaMapLogger · GitHub -
check your hardware SD <-> Arduino with avr_boot-master/asmfunc.S
-
make
-
burn fuse
avrdude -p atmega328p -c usbasp -P usb -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m -
burn boot loader
avrdude -p atmega328p -c usbasp -P usb -U flash:w:avr_boot-master/avr_boot.hex:i -Ulock:w:0x0F:m -
compile blink project
-
find the compiled file
find $TMPDIR -name Blink.cpp.elf -
convert hex to binary
avr-objcopy -O binary Blink.cpp.elf OSMFIRMW.BIN -
plug the SD card and wait the reboot (it may take long time)