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.

TMS320F28335: TMS320F28335 Experimenter Kit Not Saving Flash Memory after Power Cycle

Part Number: TMS320F28335
Other Parts Discussed in Thread: UNIFLASH

Hi TI,

I have a brand new TMS320F28335 Experimenter Kit that I just purchased. I am attempting to program and run a simple PLECs/Simulink model on the board that generates two PWM signals and reads a voltage from a potentiometer with the ADC. When I build and program the model it functions exactly as I expect, with no errors displayed. However, when if I power cycle the board it loses the program and is back to factory settings and I must build/flash the model again. This requires me to always have the board plugged into my computer in order to flash the program every time.  

I've also tried to use CCS  as well as just MATLAB Simulink's C2000 coder (no PLECs) to blink an LED and have the program save to flash (standalone). However after power cycling the board memory is completely wiped again.

Is there a particular setting or jumper configuration required in order for the TMS320F28335  to boot from flash and start running the saved program/model? 

I've attached images of my PLECs coder configuration and Uniflash settings.

Thank you,

Tom

  • Hi Tom,

    How are the boot mode pins configured on your board?  They should be configured for "Jump to Flash" as shown in below table.

    Thanks and regards,

    Vamsi

  • Hi Vamsi,

    Yes the boot mode pins are configured correctly for "Jump to Flash"

    Update to this problem:

    Using an older version of PLECs Coder Standalone (~2018 release) as well as older versions of Code Composer Studio and Uniflash, the development board was able to be programmed correctly and retain its flash memory. Using the most up to date versions of PLECs for MATLAB, CCS, and Uniflash allowed to dev board to only run from RAM and not successfully program it to flash.

    Thanks! 

    Tom

  • Hi Tom,

    Did you get any errors when trying to program the application in to the flash using CCS or UniFlash?

    I will assign this to our F28335 flash expert to help you further. 

    Please expect a reply in a day or two.

    Thanks and regards,

    Vamsi

  • Tom,

    Based on what is working I'm suspecting there is a difference in the linker(.cmd) file that the older/newer versions of the tool is using.  Since Uniflash/CCS doesn't give errors when trying to load the new code, I suspect that it isn't correctly mapped to flash.  Can you check to see if the linker file that is specified in the newer tool chain is different(or see if you can use the version the 2018 tools did)?

    Best,

    Matthew