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.

TMS320F2800156-Q1: AB swap question

Part Number: TMS320F2800156-Q1
Other Parts Discussed in Thread: C2000WARE

Tool/software:

hi, experts

we want to apply AB swap function in TMS320F280015x, and the chip has only one bank, could we use LFU to realize this requirement? is there any success case? thanks.

  • You can split up the Flash bank into 3 partitions - bootloader, App 1, App 2. To enable LFU, a portion of the bootloader (Flash API + functions that call it) as well as the App (any ISRs that need to run during LFU) will need to run from RAM. This will allow erase/program of the other App space.

    We have an example in C2000Ware

    Bootloader: C2000Ware_5_04_00_00\driverlib\f28002x\examples\flash\CCS\flash_ex3_sci_flash_kernel

    App: C2000Ware_5_04_00_00\driverlib\f28002x\examples\flash\CCS\f28002_lfu_singlebank

  • hi, Sira

    thanks so much for your kind reply, as for this method you mentioned, when we intend to prog app, shall we need to generate two app hex file, which means based on two linker files?

  • That is correct. Each of the app will have its own linker file, and in addition the bootloader will have its own linker file.