问答

汇集网友智慧,解决技术难题

21ic问答首页 -

ic BUG TI ST 错误 调试器

2025-08-23
如何消除类似“等待调试器连接... 调试器已连接 调试器连接丢失。正在关闭...”的错误?

我在使用STM32CubeIDE生成代码,但当我开始调试时,出现以下错误:

"STMicroelectronics ST-LINK GDB server. Version 5.2.3
Copyright (c) 2019, 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

Waiting for debugger connection...
Debugger connected
Debugger connection lost.
Shutting down..."

我正在使用最新版本的ST-LINK USB驱动程序(en.stsw link009)。还在使用USB转TTL转换器。最初一切运行良好,大约有十个代码成功执行。但现在遇到了上述错误。该如何解决这个问题?

回答 +关注
人浏览 人回答问题 分享 举报
个回答

您需要登录后才可以回复 登录 | 注册