Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
FLASH_prog_程序下载烧录_烧写
野火_开发板
rtt studio用DAP下载不成功
发布于 2021-05-19 20:15:19 浏览:3424
订阅该版
rtt用DAP下载程序到野火指南者开发板不能成功。 MCU是stm32F103,DAP下载器。下载方式设置就是DAP,速度根据相似的帖子改成最慢了。 ``` done! 开始下载程序:2021-05-19 20:12:20 E:\RT-ThreadStudio>cd /d E:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.1 E:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.1>pyocd.exe flash --target=STM32F103VE --erase=auto --frequency=1000000 C:\Users\whisky\Desktop\rtt\cc\Debug\rtthread.bin 0001553:CRITICAL:__main__:No ACK received Traceback (most recent call last): File "pyocd\probe\cmsis_dap_probe.py", line 249, in read_dp File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 836, in read_reg File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 830, in read_reg_cb File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 143, in get_result File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 667, in flush File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 915, in _read_packet File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 449, in decode_data File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 418, in _decode_transfer_block_data File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 341, in _check_response pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: No ACK received The above exception was the direct cause of the following exception: Traceback (most recent call last): File "pyocd\__main__.py", line 362, in run File "pyocd\__main__.py", line 520, in do_flash File "pyocd\core\session.py", line 302, in __enter__ File "pyocd\core\session.py", line 420, in open File "pyocd\board\board.py", line 85, in init File "pyocd\core\coresight_target.py", line 160, in init File "pyocd\utility\sequencer.py", line 213, in invoke File "pyocd\utility\sequencer.py", line 208, in invoke File "pyocd\coresight\dap.py", line 303, in _connect File "pyocd\coresight\dap.py", line 167, in connect File "pyocd\coresight\dap.py", line 194, in read_idr File "pyocd\probe\cmsis_dap_probe.py", line 251, in read_dp File "
", line 3, in raise_from pyocd.core.exceptions.TransferError: No ACK received 执行完毕, 耗时:4395ms. ```
查看更多
chenyaxing
2021-05-21
泥上偶然留指爪,鸿飞那复计东西。
可以尝试以下几个动作: 1. 给板子单独供电,断开板子和 DAPlink 的vcc,避免因为板子负载变化导致daplink 工作不正常 2. 排查下是否是一键下载电路流控对 mcu的reset 有影响,打开串口助手,关闭流控试一下
3
个回答
默认排序
按发布时间排序
flashman2002
2021-05-20
这家伙很懒,什么也没写!
没有ACK应答,估计你的DAP连线搞错了,请你核对一下。
木又寸
2022-06-25
这家伙很懒,什么也没写!
遇到同样的问题,在RTT studio上使用DAP下载到野火霸道板子失败,但在MDK上使用DAP下载正常(debug-connect设置为under reset可下载,在normal下无法下载,提醒SWD/JTAG Communication failure)。 开始下载程序:2022-06-25 00:21:40 C:\RT-ThreadStudio>cd /d C:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.3 C:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.3>pyocd.exe flash --target=STM32F103ZE --erase=auto --frequency=1000000 C:\RT-ThreadStudio\workspace\arbitrary_stm32f103zet6\Debug\rtthread.bin 0001846:CRITICAL:__main__:No ACK received Traceback (most recent call last): File "pyocd\probe\cmsis_dap_probe.py", line 249, in read_dp File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 836, in read_reg File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 830, in read_reg_cb File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 143, in get_result File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 667, in flush File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 915, in _read_packet File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 449, in decode_data File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 418, in _decode_transfer_block_data File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 341, in _check_response pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: No ACK received The above exception was the direct cause of the following exception: Traceback (most recent call last): File "pyocd\__main__.py", line 362, in run File "pyocd\__main__.py", line 520, in do_flash File "pyocd\core\session.py", line 302, in __enter__ File "pyocd\core\session.py", line 420, in open File "pyocd\board\board.py", line 85, in init File "pyocd\core\coresight_target.py", line 160, in init File "pyocd\utility\sequencer.py", line 213, in invoke File "pyocd\utility\sequencer.py", line 208, in invoke File "pyocd\coresight\dap.py", line 303, in _connect File "pyocd\coresight\dap.py", line 167, in connect File "pyocd\coresight\dap.py", line 194, in read_idr File "pyocd\probe\cmsis_dap_probe.py", line 251, in read_dp File "
", line 3, in raise_from pyocd.core.exceptions.TransferError: No ACK received 执行完毕, 耗时:3433ms.
撰写答案
登录
注册新账号
关注者
0
被浏览
3.4k
关于作者
elegy
这家伙很懒,什么也没写!
提问
27
回答
8
被采纳
1
关注TA
发私信
相关问题
1
程序下载之后无法正常运行
2
RT-Studio如如何修改固件烧录flash中的地址
3
rt-thread studio下点击烧写程序的程序文件指定
4
柿饼派下载新建工程不显示
5
为什么单片机STM32F405RG只能成功烧录一次?
6
ART_PI 烧录led 程序 出错
7
RT-Thread Studio的烧录地址怎么改?
8
通过网络下载图片到sd卡
9
在Persimmon UI Builder编译器下,网络下载图片保存到sd卡。
10
怎么解决找不到ST-link
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
开源共生 商业共赢 | RT-Thread 2024开发者大会议程正式发布!
2
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
3
RT-Thread EtherKit开源以太网硬件正式发布
4
如何在master上的BSP中添加配置yml文件
5
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
UART
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
keil_MDK
rt_mq_消息队列_msg_queue
MicroPython
ulog
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
a1012112796
19
个答案
2
次被采纳
张世争
9
个答案
2
次被采纳
rv666
6
个答案
2
次被采纳
用户名由3_15位
13
个答案
1
次被采纳
本月文章贡献
程序员阿伟
9
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
RTT_逍遥
1
篇文章
5
次点赞
大龄码农
1
篇文章
5
次点赞
ThinkCode
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部