Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
rtt studio 使用daplink 给STM32H743下载程序报错
发布于 2022-05-25 23:24:01 浏览:1197
订阅该版
我在 rtthread studio 中给 stm32h743 单片机下载程序的时候,用dap link 下载,发现直接下载报错,报错日志如下。 ``` D:\RT-ThreadStudio>cd /d D:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.2 D:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.2>pyocd.exe flash --target=STM32H743IITx --erase=auto --frequency=1000000 K:\2022-RTT-GUI\STM32H743_Pjt\ATK_H743_RTT_testLCD_001\Debug\rtthread.bin 0003662:WARNING:rom_table:Invalid coresight component, cidr=0x0 0003673:WARNING:rom_table:Invalid coresight component, cidr=0x0 0003687:ERROR:rom_table:Error attempting to probe CoreSight component referenced by ROM table entry #5: SWD/JTAG Transfer Fault @ 0xe00f0fbc-0xe00f0fff Traceback (most recent call last): File "pyocd\probe\cmsis_dap_probe.py", line 315, in read_ap_repeat_callback File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 871, in reg_read_repeat_cb File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 140, in get_result 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 337, in _check_response pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferFaultError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "pyocd\coresight\rom_table.py", line 349, in _read_table File "pyocd\coresight\rom_table.py", line 399, in _handle_table_entry File "pyocd\coresight\rom_table.py", line 111, in read_id_registers File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\coresight\ap.py", line 972, in _read_memory_block32 File "pyocd\coresight\ap.py", line 930, in _read_block32_page File "pyocd\coresight\dap.py", line 664, in read_ap_multiple File "pyocd\coresight\dap.py", line 654, in read_ap_multiple_cb File "pyocd\probe\cmsis_dap_probe.py", line 317, in read_ap_repeat_callback File "
", line 3, in raise_from pyocd.core.exceptions.TransferFaultError: SWD/JTAG Transfer Fault @ 0xe00f0fbc-0xe00f0fff 0003919:CRITICAL:__main__:SWD/JTAG Transfer Fault @ 0x00016e38-0x00016fff Traceback (most recent call last): File "pyocd\probe\cmsis_dap_probe.py", line 315, in read_ap_repeat_callback File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 871, in reg_read_repeat_cb File "pyocd\probe\pydapaccess\dap_access_cmsis_dap.py", line 140, in get_result 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 337, in _check_response pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferFaultError 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 264, in fill_end_of_page_gap File "pyocd\core\coresight_target.py", line 341, in read_memory_block8 File "pyocd\coresight\cortex_m.py", line 661, in read_memory_block8 File "pyocd\core\memory_interface.py", line 89, in read_memory_block8 File "pyocd\utility\concurrency.py", line 28, in _locking File "pyocd\coresight\ap.py", line 972, in _read_memory_block32 File "pyocd\coresight\ap.py", line 930, in _read_block32_page File "pyocd\coresight\dap.py", line 664, in read_ap_multiple File "pyocd\coresight\dap.py", line 654, in read_ap_multiple_cb File "pyocd\probe\cmsis_dap_probe.py", line 317, in read_ap_repeat_callback File "
", line 3, in raise_from pyocd.core.exceptions.TransferFaultError: SWD/JTAG Transfer Fault @ 0x00016e38-0x00016fff 执行完毕, 耗时:7335ms. ``` 但是如果我使用 debug 调试方式,发现可以把代码烧录到单片机中,暂时还不知道怎么解决这个下载问题。 我用的 rtthread studio 的版本是 2.2.3
查看更多
rcp
认证专家
2022-05-26
这家伙很懒,什么也没写!
可能pyocd 1.0.2版本不支持 h7芯片试试 安装最新版V0.1.4版本 pyocd支持包 ![image.png](https://oss-club.rt-thread.org/uploads/20220526/166cd39c297cd8a5ccddbdf7191e68d3.png.webp) ![image.png](https://oss-club.rt-thread.org/uploads/20220526/72f17c3fda34ef04f05806a19e572bb3.png)
2
个回答
默认排序
按发布时间排序
Wheels_Hu
2023-03-30
这家伙很懒,什么也没写!
首先更新RTstudio,在SDK管理器往下拉找到DeBugger_support_packages 然后把PyOCD新版本更新我目前可以升级最高的是0.1.6(如果用Jlin或者STlink最好也升级到最新版本)
撰写答案
登录
注册新账号
关注者
0
被浏览
1.2k
关于作者
飘雪冰峰
给 rtt studio 填坑
提问
6
回答
4
被采纳
1
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
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
freemodbus主机在freertos的适配,参考rtthread例程
2
开源共生 商业共赢 | RT-Thread 2024开发者大会议程正式发布!
3
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
4
RT-Thread EtherKit开源以太网硬件正式发布
5
还在担心bsp不好维护吗?快使用yml管理主线bsp
热门标签
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
编译报错
SFUD
msh
rt_mq_消息队列_msg_queue
keil_MDK
ulog
MicroPython
C++_cpp
本月问答贡献
出出啊
1517
个答案
342
次被采纳
小小李sunny
1443
个答案
289
次被采纳
张世争
805
个答案
174
次被采纳
crystal266
547
个答案
161
次被采纳
whj467467222
1222
个答案
148
次被采纳
本月文章贡献
出出啊
1
篇文章
4
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
1
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部