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/TMDX5515EZDSP: Reading file from a breakpoint.

Part Number: TMDX5515EZDSP

Tool/software: Code Composer Studio

How can I close a file, which I have opened using "Read/Write File from the Breakpoint".

I want to read/write the file in a continuous manner and do it from the beginning of the file. But because I am unable to close the file, my code goes into EOF error.

Any help would be appreciated.

Thanks.

  • Hello,
    I believe you would have to disable or remove the breakpoint with the action. That would close the file.

    Note that you can also enable the option to wrap around to the beginning when the end of the file is reached.

    Thanks
    ki
  • Hi,

    Thanks for the quick response.

    I tried wrap around during reading and it worked well, but the problem still existed in the write from breakpoint. The work around I tried for this was to open and close the files manually from within the code instaed of the breakpoint. This worked well for me.