This is for mbed. What about LPC1768 itself (without mbed and localfilesystem)?
I was thinking external flash sd card, or if the firmware uses only 256kB, to download new firmware on the upper 256KB, and then to copy it in lower 256KB...
Or if the firmware is bigger then 256KB and there is no external flash memory, then it would have to copy primary routines for GPRS and IAR into the RAM, and run them from RAM, and download firmware in segments and update FLASH...
I am new to the ARM, but I'm AVR gooroo. So I did the bootloader in ATmega128 that resided in bootloader area (only 8KB of memory), and it had GPRS routines, HTTP protocol implemented, and IAR. The bootloader was downloading 2KB (just 4K of RAM) of flash at the time and writing it in FLASH... After doing all 120KB of mega128, it just started new firmware...
So I was thinking doing something similar in ARM, where I have larger FLASH, but also more freedom because of 96KB of RAM...
So any help is appreciated to do routines as described...
Did I dream of that or did I really sough a project of firmware update over the ethernet (IP Bootloader)?
I was thinking of the same thing but using GPRS device (SIM908 or WISMO228) to connect to the internet and the server with new bin/hex firmware file...
Any thoughts/help much appreciated... ;)