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.

how to store program in internal flash of TMS 320F28335

Other Parts Discussed in Thread: CONTROLSUITE

         I  tried a  lot to store program in internal flash i am unable to store the program in internal flash . when i opened a new project 

one file is automatically added in that project  28335_RAM_lnk.cmd  due to this linker file have any problem?

  • Hi Ramesh,

    *NOTE this is configured for F28069 but you can follow the same for your device.

    Here are the steps:
    You need to add these two statements

    MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
    InitFlash(); after InitPieVectTable();

    Add DSP2806x_MemCopy.c file to the project.

    Define extern variables above main() function.

    extern Uint16 RamfuncsLoadStart;
    extern Uint16 RamfuncsLoadEnd;
    extern Uint16 RamfuncsRunStart;

    Replace 28069_RAM_lnk.cmd with F28069.cmd
    Compile the code.
    Configure your GPIO's to boot to flash.

    Also, you can refer a direct example code present here:
    C:\ti\controlSUITE\device_support\f2806x\v140\F2806x_examples_ccsv5\flash_f28069

    Regards,
    Gautam
  • ok gautham ji its working now
  • Great! Please close the thread by verifying the answer.

    Goodluck & Regards,
    Gautam