嵌入式技术论坛
直播中

剑寒九州

9年用户 654经验值
私信 关注
[问答]

RTT Studio中DAP不能成功下载如何解决

RTT_Stuido版本1.1.5,通过DAP_LINK下载报如下错误,不能成功下载

File "", line 3, in raise_from
pyocd.core.exceptions.TransferFaultError: SWD/JTAG Transfer Fault @ 0xe00f0fbc-0xe00f0fff
0003291:CRITICAL:main:SWD/JTAG Transfer Fault @ 0x00010c5c-0x00010fff
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):

回帖(5)

王萍

2022-10-19 10:35:43
可以描述一下调试的目标MCU嘛
举报

剑寒九州

2022-10-19 10:35:52
MCU:STM32H750VBT6
接口是:SWD.
举报

王萍

2022-10-19 10:36:01
MCU:小华半导体HC32F4A0SITB
DAP SWD

错误原因如下:
pyocd.core.exceptions.TargetSupportError: Target type 'hc32f4a0si' not Recognized。使用“pyocd list —targets”查看当前可用的目标类型。
举报

刘超

2022-10-19 10:36:09
DAP-Link暂时不支持H7系列的MCU,先使用st-link或J-link
举报

杨丽

2022-10-19 10:36:19
pyocd应该有什么问题
我用的是stm32H743,用CMSIS-DAP的硬件下载工具的开源,野火的,然后下载不
安装openocd可以正确连接,感觉成功了,当开发openocd时,不下载直接调试,程序成功了。。。额,原来我现在就直接调试了,(不修复调试也,但是装了openocd了)我可以去折腾了,需要验证
举报

更多回帖

发帖
×
20
完善资料,
赚取积分