Nuclei-Software / nuclei-sdk

Nuclei RISC-V Software Development Kit
https://doc.nucleisys.com/nuclei_sdk
Apache License 2.0
117 stars 50 forks source link

Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND #11

Closed fanghuaqi closed 3 years ago

fanghuaqi commented 3 years ago

When debug in Nuclei Studio, met the the following issue, how to solve this issue?

图片

fanghuaqi commented 3 years ago

Confirm you have installed the HummingBird Driver correctly in Windows.

Install HBird_Driver.exe when debugger is connected to your PC.

For more driver installation guide, see Nuclei_FPGA_DebugKit_Intro.pdf

If driver is installed correctly, you will be able to see the following two red marked.

图片

The marked 2 could be USB <-> JTAG-DEBUGGER, see https://github.com/Nuclei-Software/nuclei-sdk/blob/master/SoC/hbird/Board/hbird_eval/openocd_hbird.cfg#L7-L13

If your marked 2 is USB <-> JTAG-DEBUGGER, you can delete ftdi_device_desc xxx line in your openocd file, and retry again.

For RVSTAR board, the HummingBird Driver is also required.

fanghuaqi commented 3 years ago

If you are using Nuclei Studio >= 2020.09, please make sure your Nuclei Studio plugin is upgraded to >=0.1.7

fanghuaqi commented 3 years ago

If still not working, you can switch the debugger to another USB port, and reinstall the HBird_Driver.exe, and check whether the drivers are installed correct as mentioned above.