This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2800157: OTA Question

Part Number: TMS320F2800157


Tool/software:

Hi expert,

We require F2800157 to realize OTA function, that is, online program upgrade.

1. Can OTA function be realized through CAN or CAN-FD?

2. Is dual bank a must need if we require the OTA with MCU operation and receiving program at same time?

3. F2800157 doesn't have dual bank, if we use it, and divide the flash space into half and half, A area and B area. When OTA is performed, the program is received in another FLASH B area. When OTA is completed, the received program is copied from B area to A area. Is this method feasible to implement?

Thanks!

Joyce

  • 1. Yes, the host to MCU communication can be whatever the customer chooses.

    2. Dual bank makes live OTA updates easy. The bank is not RWW (read while write), therefore with a single bank, it adds additional constraints.

    3. Presumably you are thinking that you can run the A area while programming the B area. This approach is not reliable with a single bank since it is not RWW (A area Read, B area Write).

    One possible approach is to run the desired Application functionality from RAM during the OTA update. And also run a portion of the firmware update bootloader (resident in Flash) functionality from RAM during the OTA update. This normally represents the Flash API library as well as the bootloader functions that call the Flash API functions, and that wait in a while loop for the Flash API functions to complete.