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.

TMS320F280037: Dual Bank Firmware Update without LFU

Part Number: TMS320F280037
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi

 

We have a project which uses C2000 f28003x. Our customer requests that our device should execute the odd application while updating new application.

I have studied about LFU lately. The diagram below is from datasheet Live Firmware Update Design Guide tiduey4d

 

 

After studying LFU, we found two things that we have to take care of:

  1. Compiler will compile the program based off of the odd application so customer can only update firmware sequentially.

 

  1. Headroom reservation for struct members and array.

 

Since we are inexperienced in the live firmware update. Can we implement it without LFU switchover? We would like a full initialization after a software reset. Just take the advantage of the dual bank flash kernel as below chart.

Would it be feasible?

 

We know that the down time of this implementation would take longer.

Is there any sample code available for this kind of implementation? I only found buck_F28003x_lfu in the C2000ware package.

  • Hello,

    Yes, the same project has sample code for the configuration you are looking to implement.

    The build configuration to use is the same BANK0_FLASH, BANK1_FLASH, but you just need to define the symbol LFU_WITH_RESET in the Flash kernel project (flash_kernel_ex3_sci_flash_kernel).

    The user guide (tiduey3) also explains this in 3.5.3 #5.

    Thanks,

    Sira

  • Hi Sira

    Thanks for your answer. It is helpful.

    For the reference you mentioned, it is user guide (tiduey4d), right?

    Do you have any expeirence that how long the downtime would be approximately?

    Regards,

    Ho