Flashing a sketch from SD card using 2boot bootloader

Yes, that would be great. I have doubts about the 2K target, I'd rather focus on fixing the 2boots if we go in that direction. I guess it is something really small that is missing to get it working.

My ideal bootloader will have these features, in order of importance:

  • SD card flashing (only if new file is uploaded)
  • EEPROM based firmware file name
  • Serial programming
  • .HEX rather than .BIN
  • 2K

With the EEPROM based firmware file name, the application may switch itself to a TFTP sketch that will run for 20 minutes and revert back to the original application. The TFTP will wait for incomming connection and if found will save the uploaded file to the SD card (new firmare)..