CCSTUDIO-THEIA: Unable to open USB device when debug with two controlcard

Part Number: CCSTUDIO-THEIA

Hi C2000 team,

I set two workspaces for two projects and opened in two CCS windows in one computer.

I changed the Serial Number of these projects to specific naming like CC65LV01 and CC65MV01.
And when i debug one board fisrt, the code can be downloaded into P650. After this, try to debug another board, it showed LIBUSE_ERROR_ACCESS. Vice versa, swap the sequence is the same result.

Do you know where might be the problem?

Thanks!

Bowen
image.png

  • Hi Bowen,

    This is a known issue in CCS Theia when debugging two boards simultaneously using two separate CCS instances. The LIBUSB_ERROR_ACCESS error occurs because of a USB resource conflict caused by the "Detect Probe on Launch" feature 1.


    Disable "Detect Probe on Launch" in the target configuration of both CCS instances.

    This setting causes CCS to scan all connected USB debug probes when launching a debug session, which locks the USB resource and blocks the second instance from accessing its assigned probe — even though you've correctly configured unique serial numbers.

    Steps:

    1. In each CCS Theia workspace, open your target configuration (.ccxml file)
    2. Look for the "Detect Probe on Launch" option and disable it
    3. Ensure the correct XDS110 serial number (e.g., CC65LV01, CC65MV01) is still specified in each respective target configuration
    4. Launch the debug sessions — both should now connect without the LIBUSB_ERROR_ACCESS error

    This was confirmed as a known issue tracked under JIRA EXT_EP-12959, and the workaround above resolves it 1.

    Additional Notes

    • You cannot run two simultaneous debug sessions from the same CCS instance — separate instances with separate workspaces (which you're already doing) is the correct approach 1.
    • If you continue to experience issues, also consider updating to the latest CCS Theia version, as stability improvements are ongoing.

    After disabling "Detect Probe on Launch" in both instances, are you able to successfully connect to both controlCARDs, or do you still see the error?


    1. CCSTUDIO: Debugging two MCUs with two XDS110 - E2E Forum

    Best Regards,

    Zackary Fleenor

  • Hi Zackary,

    Problem solved, thank you!

    Bowen