tjh
Enlightened
Re: SkyRC — IFA 2014 / CES 2016 — MC3000 charger-analyzer
This makes sense, thanks for the information. I'll update my original post.
It's impossible to do that with a microcontroller, not enough ram nor flash to contain a whole copy of the firmware.
The only thing that it's possible to do is to use a bootloader that it will be never deleted during the upgrade, then when the new firmware is flashed and at the end of the procedure the PC send the checksum of the firmware. The microcontroller marks as valid the new firmware only if the calculated checksum is matched. If there is any problem the bootloader will never start the corrupt firmware but wait for a new flash procedure.
I think that's about what is (correctly)implemented in the MC3000.
This makes sense, thanks for the information. I'll update my original post.