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: Linking a data file

Tool/software: Code Composer Studio

Sir/Madam,

I am having three arrays of length 512 each. They are values of three phase sine waveform.Actually I want to keep those values separately in data file and I want to link that data file to the main source .C file. Is that possible or not??. If possible, how can I do that??. If there is any material regarding this please attach the link of that material. Please help me.

  • Hello,

    This is possible with CCS via a beakpoint. Configure the breakpoint properties to "Read Data from File" to have the debugger read data from a data file. You can specify the address to read it to and the length to read:

    The data file needs to be in a special *.dat format. If you are not familiar with it, please refer to the the CCS HElp (Help -> Help Contents -> Code Composer Studio Help -> Views and Editors -> Memory View -> Data File Formats)

    Thanks

    ki