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.

TMS320F28035: Creating FLASH configuration

Part Number: TMS320F28035
Other Parts Discussed in Thread: C2000WARE

Hello Ti Team.

I want to know how to create specific to FLASH configuration?

  • WW,

    I need some more information here, do you mean help with the .cmd file, i.e. what sections to map to flash or RAM or with the CCS Build configurations like we have for our examples.

    Best,

    Matt

  • Hi . Being more specific, I need your help in both cases.

    1. Creating a new project from scratch with RAM and FLASH cmd files.

    2. Modifying an existing example with RAM cmd file to have a FLASH cmd file - let's say Example_2803xLEDBlink.

  • You should see both RAM and Flash(no RAM in the file name) .cmds in this path in C2000Ware

    C:\ti\c2000\C2000Ware_5_00_00_00\device_support\f2803x\common\cmd

    Add both of these to the existing pjt.

    For the 2nd question, if you right click on your pjt and go down to "Build Configurations" then "manage" it will bring up a dialogue to create new configuration(s).  You can name them RAM/FLASH, etc.

    Then when you are in an active config you can exclude the .cmd file you don't want from that view.  For instance if you have the RAM config selected you would right click on the flash.cmd and "exclude" from build.  You would do the same for the RAM.cmd in the flash config.

    The other thing to note for a flash build, is if you have code that is loaded to flash but you want to run from RAM, you will need to set up a copy function and pragma to handle this.  Look at this example

    C:\ti\c2000\C2000Ware_5_00_00_00\device_support\f2803x\examples\c28\flash_f28035 on how to do this.

    Best,

    Matthew