Other Parts Discussed in Thread: C2000WARE
Team,
What is the most suited way to do a firmware update?
I assume that the ROM bootloader is usually used to Boot a custom firmware in RAM.
This custom firmware (or 2nd level bootloader) will :
-Run and initialize the interface it needs to use
-Load the update via the interface and burn it to FLASH
Is my understanding correct? Am I missing some steps?
What are the most suited interface (supported by the bootloader) for this? What interface do you advise to use?
What is the most common in term of code size (smallest, that could fit in the 24kB RAM) and in term of update speed (fastest interface)?
Do we have a ready to use example that would use the Bootloader (SCI, CAN, etc) to load some code in RAM?
Do we have some code example showing the use of the Flash API and giving an example of such 2nd level booloader?
Do we have some guidelines for Flash partitioning in case for example you can a Flash page for log info?
Any feedback on mechanism for recovery in case the update fails?
Can firmware update be done as well at the application level as well?
Any guidelines for this?
Thanks in advance,
A.