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.

CCS/TMS320F280049: dual banks flash application

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hello,

I'd like to use TMS320F280049 dual flash banks feature to implement image redundant function. It means when the application runs in bank 0, it can erase and program bank 1, after finishing programming, the application runs in bank 1 and vice versa. The image address range of bank 0 and bank 1 is the same, it means in compilation, I don't need to change the memory layout manually. Does TMS320F280049 support a register to eliminate the address offset? or Is any mechanism to reach the feature? Thanks.

  • Hi,

    Please note that the addresses of Bank0 and Bank1 are different - please check Table 6-2. Addresses of Flash Sectors in Datasheet (www.ti.com/.../tms320f280045.pdf).  You need to compile the image with two different address ranges and program.  There is not a register than can flip the banks - Is this what you are asking?  If not, please clarify.  

    We have a live firmware update example in C2000Ware at: 

    c2000\C2000Ware_1_00_04_00\driverlib\f28004x\examples\flash\flashapi_ex3_live_firmware_update.c.

    Thanks and regards,

    Vamsi

  • Hi Vamsi,

    Yes, I know the addresses are different, so I need MCU to flip the banks automatically. For production, it does not work to compile images with different configuration, in the field, customer would upgrade the wrong image to the wrong bank. It seems the limitation of the MCU, I would find another solution for the feature. Thanks. 

    Regards

    Slade

  • Slade,

    I can understand. We will consider this feature in our future devices.
    I am closing this thread.

    Thanks and regards,
    Vamsi