Other Parts Discussed in Thread: C2000WARE
Hi,
I know it is possible to store a bootloader in alternate Flash sector and have CPU1 instruct the CM to boot from this sector during a firmware update. However, the ideal scenario would have the bootloader only existing in RAM as part of the firmware update process. The issue with getting a bootloader into RAM is that the CM boot mode that loads external data, IPC Message RAM boot, has a limit of 2000 bytes.
As a result of this limit, it is not possible to directly load a bootloader that contains the Flash API. One possible way around this is to load a smaller bootloader that then proceeds to load the proper Flash reprogramming bootloader. A solution to a size-constrained boot mode has been documented for C6000 MCUs. Can this solution be adapted for C2000 MCUs?
If it can be adapted, then the issue then becomes more personal. I have no experience writing applications in Assembly. Experimenting with CCS projects suggest that it is possible to write this smaller intermediate bootloader in C. If it possible to write such an application in C, please confirm so; otherwise confirm that Assembly must be used.
Sincerely,
Howard Li