我使用的是 STM32CubeIDE 1.10.0 版本。之前一切正常,直到我取消勾选了更新 ST-LINK 固件的选项,之后就无法使用了。我后来手动更新了固件,但问题依旧没有任何改善。
调试时,控制台报出如下信息:
STMicroelectronics ST-LINK GDB server. Version 7.0.0
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
InitWhile : Enabled
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.
plaintext
Error in final launch sequence:
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
localhost:61234: Connection timed out.
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
localhost:61234: Connection timed out.
localhost:61234: Connection timed out.
我试过重启电脑,但没有用。
|
|