# FAQs
How to fix the LIBUSB_ERROR_ACCESS error when launching OpenOCD from Visual Studio Code on Linux?

This error typically occurs due to missing or incorrect udev rules, which prevent user-space access to USB debug interfaces. Follow these steps to resolve the issue:

  1. Open or create the udev rules file:

    sudo nano /etc/udev/rules.d/60-openocd.rules
    Copy to clipboard
  2. Add the appropriate rule based on your device’s lsusb output. For example:

    SUBSYSTEM=="usb", ATTR{idVendor}=="<vendor_id>", ATTR{idProduct}=="<product_id>", MODE="0666", GROUP="plugdev"
    Copy to clipboard
  3. Reload the udev rules:

    sudo udevadm control --reload-rules
    sudo udevadm trigger
    Copy to clipboard
  4. Reconnect the EVK to apply the new rules.

  5. Add your user to the appropriate group (typically plugdev or dialout):

    sudo usermod -aG plugdev $USER
    Copy to clipboard
  6. Log out and log back in, or reboot your system for the group changes to take effect.

  7. Retry launching OpenOCD from Visual Studio Code.

How to fix issues when starting a new debug session?

If you experience problems when launching a new debug session, it may be due to stale or lingering openocd processes from previous sessions. To resolve this:

  1. Check for any running openocd processes.

  2. Terminate them using the following command:

    pkill openocd
    Copy to clipboard
  3. After terminating the stale processes, retry starting the debug session.

How to ensure reliable USB connectivity?

To ensure stable communication between EVK and your host computer:

How to add a new project in Visual Studio Code QCC IDE?
  1. In the QCC IDE view, open the QCC74x SDK folder as an existing project. In the Explorer pane, you’ll see example applications listed under the QCC IDE workspace dropdown. These applications are defined in the configuration file located at <SDK>/tools/qccide/qccIdeProjConfig.json.

../../_images/image13.png
  1. In the Explorer pane, right‑click inside the folder where you want the new project directory. Select New > Folder. Enter a name for the folder (for example, new_project).

  2. Open qccIdeProjConfig.json and add a new entry for your project. Use the format shown in template.jsont in the same directory as a reference.

../../_images/image14.png
  1. Navigate to your new project folder and open the Makefile. Update the QCC74x_SDK_BASE variable so it points to the correct SDK base path on your system.

../../_images/image15.png
## Further support Ask your questions on the [Qualcomm support forum](https://mysupport.qualcomm.com/supportforums/s/). Last Published: May 06, 2026 [Previous Topic FAQs](https://docs.qualcomm.com/bundle/publicresource/80-WL740-251/topics/faq.md)