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 program TI piccolo 28069 in flash instead of ram?

Other Parts Discussed in Thread: CONTROLSUITE

please help me.

thank you

  • hi,

    go to your project 'Properties -->Processor Options' and set configuration as 'Release [Active]'.

    or from 'Build Configurations-->Set Active-->Release'.

    Adi.

  • Hi Veera,

    Veerabhadra P V said:

    please help me.

    thank you

    You can go through the code present here in controlSuite:

    C:\ti\controlSUITE\device_support\f2806x\v136\F2806x_examples_ccsv5\flash_f28069

    This is a flash based example. Also, here are the steps to convert RAM based code to Flash based:

    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.

     Observe the cmd file and the Example_28069Flash.c file of the above flash sample project.

    Regards,

    Gautam

  • Thanks for your reply bro.

    I'm still facing problem. It cries out of memory now though flash is 100 times ram.

    some bss has to be changed in command file itseems ... please help me.

    thank you

  • Thanks for your reply bro.

    I'm still facing problem. It cries out of memory now though flash is 100 times ram.

    some bss has to be changed in command file itseems ... please help me.

    thank you

  • Did you replace the .cmd file in your project ie did you use flash based cmd file?

  • thank you very much Gautam, works very well; though I could never find the file "DSP2806x_MemCopy.c" I guess with the passage of time it changed name to "F2806x_MemCopy.c".

    everything else is right, thank you!

    greetings

    Martin Valencia
  • Yes the header file name evolved :)