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.

TMDSHVMTRPFCKIT: Boot from flash on F28035

Part Number: TMDSHVMTRPFCKIT
Other Parts Discussed in Thread: C2000WARE

Hi, I'm using F28035 on my TMDSHVMTRPFCKIT, trying to upload a practice program controlling the blinking sequence of the LEDs on the TMDSHVMTRPFCKIT board. 

When I build the program onto the control card, I can run the program but when I turn the control supply off and back on again, the program on the control card vanishes. 

I surfed the internet for solution and found boot from flash option which enables program uploaded onto the card to be run without connection to the computer. Well, I checked the switch configuration on the control card and all is set as default. 

How can I keep the uploaded program on the control card even after control supply is turned off and back on?

thank you in advance.

  • James,

    You will need to modify your linker command file(.cmd) to place your program in flash memory vs RAM memory that is the default for most of our examples.

    This example in C2000Ware(I have V4, but this example should be in any of the older versions as well) :  C:\ti\c2000\C2000Ware_4_00_00_00\device_support\f2803x\examples\c28\flash_f28035\

    Is set up to do the above, take a look at where the .text section as well as the reset and begin sections are placed and this should give you a good starting point for making similar changes to your project.

    Finally, you will need to change the boot mode pins to flash boot mode, so the correct addresses will be used at reset.

    Best,
    Matthew