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.

Execution from RAM using TMS320F28035 - working example

Other Parts Discussed in Thread: CONTROLSUITE

I would like to store some variables in flash but in order to do so I need to run some code from RAM. I looked at the example "TMS320F2803x PiccoloTM Flash API using CCS4.0v" and wanted to run this. However I could not see where the workspace is located. I tried a few likely looking folders but everything came up blank. Does anyone have a working project I can take a look at? I am using code composer version 4.2.1. I would like to be able to copy the code to RAM and then jump to it for execution, rather always having it in RAM.

Thanks....Simon

  • Simon Quin said:

    I would like to store some variables in flash but in order to do so I need to run some code from RAM. I looked at the example "TMS320F2803x PiccoloTM Flash API using CCS4.0v" and wanted to run this. However I could not see where the workspace is located. I tried a few likely looking folders but everything came up blank. Does anyone have a working project I can take a look at? I am using code composer version 4.2.1. I would like to be able to copy the code to RAM and then jump to it for execution, rather always having it in RAM.

    Thanks....Simon

    Simon,

    Did you try the example that comes with the flash API?  It is available in controlSUITE (www.ti.com/controlsuite) under

    C:\ti\controlSUITE\libs\utilities\flash_api\2803x\v100\example

    The example initially loads into flash and then copies itself to RAM.  From there it erases part of the flash and writes back a pattern.

    Regards

    Lori

    Edit: fixed URL

  • Thanks for the tip Lori. I have been attempting to download and install controlSUITE for most of the day. It seems to start OK but then I get a message which says "Could not access network location http://software-dl.ti.com/C2000/c200_apps_public_sw/Base.cab". Looks like a server problem. I will try again next week as it is almost home time here.

    Regards....Simon