大家好,我使用的是 Linux Mint 版本 19.0(tara),一切运行良好,现在我想使用 Attolic Truestudio,我安装了它,一切运行良好。我为 STM32F401RE Nucleo 创建了一个简单的项目,并插入了 USB,如果我输入 lsusb,我会看到以下内容:
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 046d:c402 Logitech, Inc. Marble Mouse (2-button)
Bus 003 Device 004: ID 0cf3:3004 Atheros Communications, Inc. AR3012 Bluetooth 4.0
Bus 003 Device 003: ID 174f:14b8 Syntek
Bus 003 Device 006: ID 0483:374b STMicroelectronics ST-LINK/V2.1 (Nucleo-F103RB)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
当我编译时,我没有问题,但如果我调试项目,我会看到此错误:
libusb: error [_get_usbfs_fd] File doesn't exist, wait 10 ms and try again
libusb: error [_get_usbfs_fd] libusb couldn't open USB device
/dev/bus/usb/003/000: No such file or directory
ST-Link enumeration failed
Error in initializing ST-Link device.
Reason: ST-Link DLL error.
也有这个与管理权限有关的问题,你能帮助我吗?请原谅我的英语不好。致以最诚挚的问候。答。