Part Number: TMS320F280039
Other Parts Discussed in Thread: TIDM-02011
Tool/software:
Hi experts,
My customer is developing LFU functions on F280039. I am asking here for suggestions. Below are their requirements.
1. Bank 0 has two bootloaders. bootloader 1 is default and it would never be upgrade. bootloader 2. is upgradable
2. Two App is on bank 1 and bank 2, as dual backup. If one App is corrupted due to an unsuccessful upgrade, bootloader would switch to the other APP.
3. When app is running, and an upgrade command is issued by the host. The App would switch to bootloader to receive data (new app codes) and write the flash. However, only a part of the data would be transferred, instead of the whole app image. After writing the partial data, bootloader would switch back to app. This process happens repetitively until all image is transferred and written on flash.
With the above requirements, customer has below concern.
- When using 2 banks for app, is there any successful experience on how to handle the software version? For example, should it be v1.0 on bank1, v1.1 on bank2, and the next version v1.3 goes bank1? In this way, their developer needs to change the cmd file every time they upgrade the software.
- When switching to bootloader in the 3 requirement above, how to make sure bootloader can switch back app even when there is some error in the bootloader? Also, when switching to bootloader, how to save the context of the app, so the app can continue its job when switching back?
Regards,
Hang.