打印
[应用相关]

我使用Truestudio在线调试出现Target is not responding, retrying... Er...

[复制链接]
3480|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
两只袜子|  楼主 | 2021-9-15 09:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现在我可以确定的是硬件电路应该没有问题,我用keil写了个点灯可以正常下载正常在线debug。但是用Truestudio跑STM32CubeMX生成的工程时出现如下报错:
STMicroelectronics ST-LINK GDB server. Version 5.1.0
Copyright (c) 2018, 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
      -------------------------------------------------------------------
                       STM32CubeProgrammer v1.3.0                  
      -------------------------------------------------------------------



Log output file:   C:\Users\think\AppData\Local\Temp\STM32CubeProgrammer_a05256.log
ST-LINK SN  : 50FF6C066686575026510487
ST-LINK FW  : V2J37S7
Voltage     : 3.23V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x441
Device name : STM32F412
Device type : MCU
Device CPU  : Cortex-M4



Memory Programming ...
Opening and parsing file: C:\Users\think\AppData\Local\Temp\ST-LINK_GDB_server_a05256.srec
  File          : C:\Users\think\AppData\Local\Temp\ST-LINK_GDB_server_a05256.srec
  Size          : 81264 Bytes
  Address       : 0x08000000


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 4]
Download in Progress:


File download complete
Time elapsed during download operation: 00:00:02.454



Verifying ...




Download verified successfully


Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Error! Failed to read target status
Debugger connection lost.
Shutting down...

使用特权

评论回复
沙发
jcky001| | 2021-9-15 09:25 | 只看该作者

芯片是STM32F412RET6

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2035

主题

7339

帖子

10

粉丝