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.

TMS320F280049C: tms320f280049c:Burn the program to flash

Part Number: TMS320F280049C
Other Parts Discussed in Thread: UNIFLASH, C2000WARE

Hi,

Recently, I was burning the program to the flash of tms320f280049c. I see that flash contains bank0 and bank1,and bank0 or bank1 has only 128KB. So, can i burn the program in bank0 and bank1 at the same time?

Thank you!

  • Hi,

    You can use both banks for your application.

    TI CCS Flash Plugin or UniFlash or any other 3rd party solution should be able to program your Flash based application in to anywhere in both the Flash banks.

    One thing to note: Do not map anything in the last 256-bits (16 16-bit word locations) of the Flash in your linker cmd file.  If you allocate anything here, ECC errors or ITRAP errors can happen due to Flash prefetch going beyond the implemented Flash space.    

    Thanks and regards,
    Vamsi

  • Hi Vamsi,

    First of all, thank you for your answer. Like you said, I can burn the program  in bank0 and bank1 at the same time. So,I want to know how  bank0 and bank1 work when my program runs and how do I configure program CMD files. 

    Thank you!

  • Hi,

    Glad that it worked for you.

    You said you are able to load to both banks fine.

    I did not get your new question.  What exactly do you want to know on bank0 and bank1?  Please let us know.

    If you are wondering about the Flash bank configuration: Please take a look at Flash_initModule() available at C:\ti\c2000\C2000Ware_x_xx_xx_xx\driverlib\f28004x\driverlib\flash.c.

    Regarding linker cmd files, you need to map all the initialized sections to Flash memory.  If you need to run anything from RAM for performance reasons, you can load those functions from Flash to RAM at runtime before executing them from RAM.  You can use .TI.ramfunc section for that.  Please take a look at the example linker cmd files provided in the C2000Ware (C2000Ware_x_xx_xx_xx\device_support\f28004x\common\cmd\28004x_generic_flash_lnk.cmd).

    Thanks and regards,
    Vamsi