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.

Flash programming for F28069

Other Parts Discussed in Thread: CONTROLSUITE

my code is working fine in RAM.but not in flash.I have studied "Running an Application from Internal Flash Memory on the TMS320F28xxx DSP".but i didn't

get any thing.please help me.Is there any document for flash programming that will show step by step.

  • Hi Mani,

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

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

    Add DSP2803x_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
  • Thank you so much for giving repy...i will check that and i will let u know...
  • Sure, keep us informed.

    Regards,
    Gautam