Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
CMSIS-DAPlink
RT-Thread Studio
用Studio中的DAP下载失败,用keil可以下载AT32F407VGT7
发布于 2021-08-06 22:55:44 浏览:1681
订阅该版
``` 开始下载程序:2021-08-06 22:47:13 F:\RT-ThreadStudio>cd /d F:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.2 F:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.2>pyocd.exe flash --target=AT32F407VGT7 --erase=auto --frequency=1000000 D:\1-Elec\PyP\4-MCU\PH_0001\Debug\rtthread.bin 0002711:ERROR:board:link exception during target disconnect: Traceback (most recent call last): File "pyocd\probe\cmsis_dap_probe.py", line 285, in read_ap_result_callback 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 451, in decode_data File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 358, in _decode_transfer_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 527, in do_flash File "pyocd\flash\file_programmer.py", line 158, in program File "pyocd\flash\loader.py", line 168, in commit File "pyocd\flash\builder.py", line 421, in program File "pyocd\flash\builder.py", line 319, in _build_sectors_and_pages File "pyocd\flash\builder.py", line 263, in fill_end_of_page_gap File "pyocd\flash\builder.py", line 222, in _enable_read_access File "pyocd\flash\flash.py", line 235, in init File "pyocd\core\coresight_target.py", line 390, in reset_and_halt File "pyocd\coresight\cortex_m.py", line 968, in reset_and_halt File "pyocd\coresight\cortex_m.py", line 982, in get_state File "pyocd\coresight\cortex_m.py", line 646, in read_memory File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\coresight\ap.py", line 883, in _read_memory File "pyocd\coresight\ap.py", line 864, in read_mem_cb File "pyocd\coresight\dap.py", line 603, in read_ap_cb File "pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback File "
", line 3, in raise_from pyocd.core.exceptions.TransferError: No ACK received During handling of the above exception, another exception occurred: Traceback (most recent call last): File "pyocd\probe\cmsis_dap_probe.py", line 285, in read_ap_result_callback 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 451, in decode_data File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 358, in _decode_transfer_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\board\board.py", line 98, in uninit File "pyocd\core\coresight_target.py", line 305, in disconnect File "pyocd\coresight\cortex_m.py", line 510, in disconnect File "pyocd\coresight\cortex_m.py", line 1021, in resume File "pyocd\coresight\cortex_m.py", line 982, in get_state File "pyocd\coresight\cortex_m.py", line 646, in read_memory File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\coresight\ap.py", line 883, in _read_memory File "pyocd\coresight\ap.py", line 864, in read_mem_cb File "pyocd\coresight\dap.py", line 603, in read_ap_cb File "pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback File "
", line 3, in raise_from pyocd.core.exceptions.TransferError: No ACK received 0002714:CRITICAL:__main__:No ACK received Traceback (most recent call last): File "pyocd\probe\cmsis_dap_probe.py", line 285, in read_ap_result_callback 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 451, in decode_data File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 358, in _decode_transfer_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 527, in do_flash File "pyocd\flash\file_programmer.py", line 158, in program File "pyocd\flash\loader.py", line 168, in commit File "pyocd\flash\builder.py", line 421, in program File "pyocd\flash\builder.py", line 319, in _build_sectors_and_pages File "pyocd\flash\builder.py", line 263, in fill_end_of_page_gap File "pyocd\flash\builder.py", line 222, in _enable_read_access File "pyocd\flash\flash.py", line 235, in init File "pyocd\core\coresight_target.py", line 390, in reset_and_halt File "pyocd\coresight\cortex_m.py", line 968, in reset_and_halt File "pyocd\coresight\cortex_m.py", line 982, in get_state File "pyocd\coresight\cortex_m.py", line 646, in read_memory File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\coresight\ap.py", line 883, in _read_memory File "pyocd\coresight\ap.py", line 864, in read_mem_cb File "pyocd\coresight\dap.py", line 603, in read_ap_cb File "pyocd\probe\cmsis_dap_probe.py", line 287, in read_ap_result_callback File "
", line 3, in raise_from pyocd.core.exceptions.TransferError: No ACK received 执行完毕, 耗时:3192ms. ```
查看更多
2
个回答
默认排序
按发布时间排序
hxcnz
2021-08-06
这家伙很懒,什么也没写!
单独执行这条命令是可以烧录的: ``` pyocd.exe flash --target=AT32F407VGT7 --erase=auto --frequency=1000000 D:\1-Elec\PyP\4-MCU\PH_0001\Debug\rtthread.bin [====================] 100% 0004663:INFO:loader:Erased 0 bytes (0 sectors), programmed 0 bytes (0 pages), skipped 55296 bytes (54 pages) at 13.59 kB/s ```
rcp
认证专家
2021-12-01
这家伙很懒,什么也没写!
你在命令行下调用的命令,是那个0.1.2版本下的同一个pyocd.exe吗
撰写答案
登录
注册新账号
关注者
0
被浏览
1.7k
关于作者
hxcnz
这家伙很懒,什么也没写!
提问
10
回答
37
被采纳
0
关注TA
发私信
相关问题
1
rt_thread studio 啥时候能用呢
2
RT_Thread使用反馈帖子
3
RTT studio 下的 AT指令问题。
4
什么时候RTT Sdudio支持Ubuntu,Deepin和UOS操作系统
5
rt thread Studio 关于J-LINK下载问题
6
RT-Thread studio 调试设置问题
7
RTT-Studio 如何设置调试配置参数?
8
rt_thread studio 软件包配置
9
RT-Studio目前只能开发STM32的项目吗?
10
rtt studio 生成hex名字修改
推荐文章
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
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
2
RT-Thread EtherKit开源以太网硬件正式发布
3
如何在master上的BSP中添加配置yml文件
4
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
5
RT-Thread 发布 EtherKit开源以太网硬件!
热门标签
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
16
个答案
2
次被采纳
张世争
9
个答案
2
次被采纳
rv666
6
个答案
2
次被采纳
用户名由3_15位
13
个答案
1
次被采纳
本月文章贡献
程序员阿伟
9
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
大龄码农
1
篇文章
5
次点赞
RTT_逍遥
1
篇文章
2
次点赞
ThinkCode
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部