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/TMS320F28379D: How to get my program into flash?

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

I have created a program for my TMS320F28379D that runs great from RAM. I want to load it into the flash memory. Can anyone direct me to the necessary instruction document to accomplish this task?

I am using Code Composer Studio v7 and the Delfino TMS320F28379D Experimenter's Kit with controlCARD R1.3, which has the XDS 100v2 USB onboard. Are these all I need to do the job?

  • Hi Ricky,

    The flash programmer for you device is integrated into CCS so the only thing you need to do is to have the linker allocate your code to the flash region of your device. This is often done with the linker command file. I would suggest taking a look at the default flash linker command file for your device (.\ccsv7\ccs_base\c2000\include\2837x_FLASH_lnk_cpu1.cmd). Note how it places most of the code in flash (.text section). Once you build an application that is configured to load/run from flash, just load it in CCS like you were loading it before. CCS figures out from the generated executable where to load/flash the various sections of code.


    Note that there is also a more lightweight tool called UniFlash that you can use to also flash your code once it is built correctly.

    Thanks

    ki