你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

Cube IDE下载程序时报错Target no device found,但是ST-LinkUpgrade可以识别到且可以更新固件

[复制链接]
upshu 提问时间:2024-9-26 20:55 / 未解决

image.png

image.png

image.png

STMicroelectronics ST-LINK GDB server. Version 7.8.0

Copyright (c) 2024, STMicroelectronics. All rights reserved.

Starting server with the following options:

Persistent Mode            : Disabled

Logging Level              : 1

Listen Port Number         : 31234

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.

早上还可以下载的。

收藏 评论4 发布时间:2024-9-26 20:55

举报

4个回答
xmshao 回答时间:2024-9-27 09:33:02
你先通过STM32Cubeprogrammer连接试试,对STLINK和相关连接做基本确认。


如果这时连接不上,重点检查下STLINK及它与目标板的连接、目标板的供电情况。


若使用TM32Cubeprogrammer连接顺畅,那就重点检查STM32CubeIDE的debugger配置情况。


可以将之前的配置删掉后重建一个。

++补充下:
我刚才使用G0的开发板测试时也遇到类似问题,后来发现是我选项字节有些配置有问题。


rrr.png

upshu 回答时间:2024-9-27 20:18:11

xmshao 发表于 2024-9-27 09:33
你先通过STM32Cubeprogrammer连接试试,对STLINK和相关连接做基本确认。</p>
<p>

你好。我的目标板是通过micro usb 接口连接的。现在换了好几根线还是连接不上。

![image.png](data/attachment/forum/202409/27/201516h1lwjuyqbwdq1hjo.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png"image.png

f0d2fb9f4b5bfc58b6dd5ac87342759.jpg

121eb983266778474070104ea25899f.jpg
upshu 回答时间:2024-9-27 20:25:22

xmshao 发表于 2024-9-27 09:33
你先通过STM32Cubeprogrammer连接试试,对STLINK和相关连接做基本确认。</p>
<p>

20:12:12 : STM32CubeProgrammer API v2.17.0 | Windows-64Bits 20:12:14 : UR connection mode is defined with the HWrst reset mode 20:12:14 : ST-LINK SN : 004B003F3137510C39383538 20:12:14 : ST-LINK FW : V3J15M6 20:12:14 : Board : NUCLEO-H755ZI-Q 20:12:14 : Voltage : 3.26V 20:12:14 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 20:12:16 : UR connection mode is defined with the HWrst reset mode 20:12:16 : ST-LINK SN : 004B003F3137510C39383538 20:12:16 : ST-LINK FW : V3J15M6 20:12:16 : Board : NUCLEO-H755ZI-Q 20:12:16 : Voltage : 3.26V 20:12:16 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 20:12:29 : UR connection mode is defined with the HWrst reset mode 20:12:29 : Error: No debug probe detected. 20:12:34 : ST-LINK error (DEV_CONNECT_ERR) 20:13:49 : UR connection mode is defined with the HWrst reset mode 20:13:49 : ST-LINK SN : 004B003F3137510C39383538 20:13:49 : ST-LINK FW : V3J15M6 20:13:49 : Board : NUCLEO-H755ZI-Q 20:13:49 : Voltage : 3.26V 20:13:49 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 20:14:14 : UR connection mode is defined with the HWrst reset mode 20:14:14 : ST-LINK SN : 004B003F3137510C39383538 20:14:14 : ST-LINK FW : V3J15M6 20:14:14 : Board : NUCLEO-H755ZI-Q 20:14:14 : Voltage : 3.26V 20:14:14 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 20:19:18 : Start STLinkUpgrade... 20:20:40 : UR connection mode is defined with the HWrst reset mode 20:20:40 : ST-LINK SN : 004B003F3137510C39383538 20:20:40 : ST-LINK FW : V3J15M6 20:20:40 : Board : NUCLEO-H755ZI-Q 20:20:40 : Voltage : 3.26V 20:20:40 : No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 20:20:40 : ST-LINK SN : 004B003F3137510C39383538 20:20:40 : ST-LINK FW : V3J15M6 20:20:40 : Board : NUCLEO-H755ZI-Q 20:20:40 : Voltage : 3.26V 20:20:40 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 20:20:49 : UR connection mode is defined with the HWrst reset mode 20:20:49 : ST-LINK SN : 004B003F3137510C39383538 20:20:49 : ST-LINK FW : V3J15M6 20:20:49 : Board : NUCLEO-H755ZI-Q 20:20:49 : Voltage : 3.26V 20:20:49 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication 20:20:54 : Start STLinkUpgrade...

所属标签

相似问题

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版