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/CCSTUDIO: CCS build failure due to .out file being locked by ccstudio

Part Number: CCSTUDIO
Other Parts Discussed in Thread: CC2640

Tool/software: Code Composer Studio

Windows 10 Home Edition, 64 bit.

Code Composer Studio
Version: 8.0.0.00016

Very often, the CCS build operation fails after running linker, the existing .out file cannot be accessed by the linker to produce final output file. The .out file cannot be deleted by windows operation, windows error msg:

because this file is open in ccstudio

Close the file and try again

If CCS is closed and re-opened, it works but this error will happen again after a few build.

Any suggestion?

  • CCS Version: 8.1.0.00011 : same issue.
    Once the .out file is locked, "Project=>Clean" fails as well.
  • Could you show a screenshot of the error message in CCS? Which target device/compiler tools are you building with?

    Is the debugger running at the same time that you are performing the build?

    Is there a specific sequence of steps that triggers this behavior? That information could help us reproduce the behavior.

  • Most likely the blame goes to microsoft.
    installation of CCS Version: 8.1.0.00011: .out file is locked
    uninstall 8.1.0.00011 and install 8.1.0.00011: .out file is locked
    reboot windows: file access issue not reproducible for ~ 1 hour.
    target device: CC2640
    compiler tools: CCS default
    HW physically disconnected, debugger session never initiated.