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.

CCS/TMS320F28335: Question about executing from Flash

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Hello, I have a question which has confused me for a very long time.

That's in the directory "controlSUITE\device_support\f2833x", in the v132 and v133, there is a "controlSUITE_DSP2833x_HeaderFiles_Quickstart_Readme.pdf" which shows me how to execute the program from flash.

as below:

it shows that i should use the command MemCopy() and InitFlash().

But after the v.140, there is no this kind of document. 

I wanna know if there is any difference between these versions ? 

I mean, if I use those header file in v.140 and wanna execute my program From Flash Is there any different method or it's still the same ???

thanks.

  • Dong,

    1) Only change with regards to Flash execution coding from v.140 onwards is that the usage of MemCopy() function (provided in DSP2833x_MemCopy.c) is replaced with that of memcpy() function from RTS library.

    If you see Example_2833xFlash.c file in v133, you will notice MemCopy() function is used. 

    If you see Example_2833xFlash.c file in v140, you will notice memcpy() function is used.

    The document f2833x-f2823x-FRM-EX-UG.pdf provided in v140 mentions that the MemCopy() is not used anymore.  

    Our team kept DSP2833x_MemCopy.c file in v140 as well to help any legacy users - but we recommend moving to memcpy() function asshown in the examples.  I filed a ticket to remove that file in the next version of C2000Ware.

    2) No change in terms of InitFlash() usage.  It is needed as you can see it in both of the versions above.

    3) Regarding the document "controlSUITE_DSP2833x_HeaderFiles_Quickstart_Readme.pdf":  I spoke with our team and looks like this is removed since the info in this document is a little outdated and also is redundant - Similar details are available in one of the other available collateral like examples or TRM.

    Thanks and regards,
    Vamsi

  • Oh~ I see . Now I get it.

    Thanks for ur detailed explanation.

    U earn my appreciation :)