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: DSS example script msp430f5529_ccsSession.js Could not launch the product because currently in use.

Part Number: CCSTUDIO
Other Parts Discussed in Thread: MSP430F5529,

Tool/software: Code Composer Studio

I am trying to run the example script, msp430f5529_ccsSession.js but script line 24 generates the pop up error message. I am having the same problem on my development scripts. I can run through the rhino shell and dss just fine, as long as I don't try and open a CCS window to help debug. Any idea on what the problem is that is preventing me from using CCS. 

  • I did confirm no other instance of CCS was running, including rebooting the system to make sure.
    I tried changing the user account on the system to have administrator privileges, but that didn't help either.
  • Hi Curtis,
    This looks like a bug with CCSv7. I can reproduce it with CCSv7 but CCSv6 works fine. I'll look into this further

    Thanks
    ki
  • A bug has been filed for this issue. Tracking ID: CCDSK-2617
  • We found a a crude workaround, though I'm not sure it's safe or reliable. We deleted the lock file. The steps are to start dss.sh up, but don't start running the script then delete the lock on the .meta data\.lock file. Here is an example output of what we did.

    C:\Users\UnitTestStation\workspace_v7\.metadata>..\..\handle64.exe .metadata\.lock

    Nthandle v4.1 - Handle viewer
    Copyright (C) 1997-2016 Mark Russinovich
    Sysinternals - www.sysinternals.com

    ccstudio.exe pid: 1592 type: File 62C: C:\Users\UnitTestStation\workspace_v7\.metadata\.lock 

    C:\Users\UnitTestStation\workspace_v7\.metadata>..\..\handle64.exe -c 62C -p 1592

    Nthandle v4.1 - Handle viewer
    Copyright (C) 1997-2016 Mark Russinovich
    Sysinternals - www.sysinternals.com

    62C: File (RW-) C:\Users\UnitTestStation\workspace_v7\.metadata\.lock
    Close handle 62C in ccstudio.exe (PID 1592)? (y/n) y

    Handle closed.

    C:\Users\UnitTestStation\workspace_v7\.metadata>del .lock

    Now you can step through your script and it will open the ccs window. 

    I'm not going to mark this as a fix, because I don't know if this is safe and the correct fix is to fix the bug properly.