I referred to the Firmware upgrade over USB as a reference and I am currently trying to perform the firmware upgrade over Ethernet with the help of a HTTP server. The scheme which we are trying to implement is to split the flash into three sections Bootloader, Application and Binary section.
1. The the user uploads the bin file through the web page hosted and we store the uploaded file into the address of binary section.
2. Get into custom boot loader and perform erase of Application section and flash the firmware in binary section to application section.
3. Then load application.
Is this a possible method to implement and what will be the changes which needs to be made for this.