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 v3.3: Loading code flash memory

Hello,

Okay I'm trying to load a from to flash memory using simulink. I'm not sure how to do this. CCS v4 and v5 have an specific way of doing it, but I know CCSv3.3 is a little more complicated than that. Can someone tell me how to load the program to flash memory? What steps should I follow?

Thank you,

Carolina Sierra

  • Hello Carolina,

    Are you using a 28x device? The on-chip flash programmer in v4 and v5 is integrated with the program loader. in v3, there was a separate utility you had to run. This utility  was accessible from inside the CCSv3 GUI (I think the name is "on-chip flash programmer").

    Thanks

    ki 

  • Ki,

    I have to use CCS v3.3 specifically, I was able to do it in v5. However, my project requires me to do it v3.3. The reason being is that  we are using MATLAB simulink to create the code and CCS v3.3 was more supported for our purpose.

    Do you happen to know where the CCSv3 GUI is?

    Thanks,

    Carolina S

  • Carolina Sierra said:
    The reason being is that  we are using MATLAB simulink to create the code and CCS v3.3 was more supported for our purpose.

    Yes, simulink support is much better with CCSv3

    Carolina Sierra said:
    Do you happen to know where the CCSv3 GUI is?

    The button to launch the on-chip flash programmer is shown circled in red:

  • Note that the above option is available for just 28x. You didn't confirm if you are using a 28x device but i am assuming you are using one.

    Thanks

    ki

  • Ki,

    Your assumption was right, and thank you so much for your help.  Now, I'm a bit lost trying to run a program in flash. I tried running it, but then I got an error. I researched this error on line, and I don't have the program configured to load to flash memory. I'm trying to follow the

    2803x C/C++ Header Files and Peripheral Examples Quick Start pdf file: http://www.ti.com/lit/sw/sprc991/sprc991.pdf.

    However, I'm a bit confused on pages 25 and 26. It says :

    b. Add the following function prototype to the example source code. This is done for
    you in the DSP2803x_Examples.h file.
    /********************************************************************
    * DSP2803x_common\include\DSP2803x_Examples.h
    ********************************************************************/
    MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);

    There are several instructions like this that I'm not sure what source code file is referring to. 

    Finally, number 5. in setting the required jumpers...I'm not sure on where to go about this.

    I know I have a lot of questions, but this is my first time actually using the DSP microcontroller , specifically controlCARD piccolo f28035.

    Thank you,

    Carolina

     

  • Hi Carolina,

    Questions specific to the C28x examples header/peripheral examples and the 28x hardware is best asked in the C2000 forums. The experts there can help you best. 

    Thanks

    ki