Hi. I am using an LPC1768 with a working routine for updating firmware. From a master device, I currently download the firmware to an external EEPROM, check it, and then copy it to the LPC1768’s flash and perform a reset. This works well.
I now have a library of standard routines that run on the LPC1768 including the comms code to/from the master device and the firmware update code. This base code is then added to with application specific code for different projects.
I would like to be able to keep the base code, and only update the application specific code. The thinking being that if there is a bug in the application specific code I won’t brick the device because the comms/firmware code is still working, and I can still download new application specific firmware.
I don’t know if this is possible on the LPC1768 and if it is, where to start?