我无法解决这个问题。我有mac M1 Macbook,我安装了Stm32 Cube IDe 1.13版本。我尝试了一个简单的hello world项目,该项目正在建设中。
但当我尝试调试它时,问题就来了。它显示的错误是
libusb:info[darwin_claim_interface]找不到接口;设置配置:1
libusb:error[darwin_claim_interface]无法设置配置
输出如下-
STMicroelectronics ST-LINK GDB server. Version 7.4.0
Copyright (c) 2023, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
libusb: info [darwin_claim_interface] no interface found; setting configuration: 1
libusb: error [darwin_claim_interface] could not set configuration
Device connect error
Error in initializing ST-LINK device.
Reason: Failed to connect to device. Please check power and cabling to target.
我需要帮助才能工作。我的Mac Os是13.5 Ventura。
如果你想知道我的调试设置