完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
使用DAPLink,发现无法调试,也无法下载,会报如下错误: 0000971 W Overlapping memory regions in file ./packs/Keil.STM32L4xx_DFP.2.3.0-small.pack (STM32L412C8Tx); deleting outer region. Further warnings will be suppressed for this file. [cmsis_pack] 0001241 I Target type is stm32f405rg [board] 0001479 C Unexpected ACK value (5) returned by probe [__main__] [2mTraceback (most recent call last): File "pyocdprobecmsis_dap_probe.py", line 345, in read_dp File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 976, in read_reg File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 970, in read_reg_cb File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 154, in get_result File "pyocdutilityconcurrency.py", line 29, in _locking File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 790, in flush File "pyocdutilityconcurrency.py", line 29, in _locking File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 1056, in _read_packet File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 473, in decode_data File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 442, in _decode_transfer_block_data File "pyocdprobepydapaccessdap_access_cmsis_dap.py", line 365, in _check_response pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: Unexpected ACK value (5) returned by probe The above exception was the direct cause of the following exception: Traceback (most recent call last): File "pyocd__main__.py", line 161, in run File "pyocdsubcommandsgdbserver_cmd.py", line 190, in invoke File "pyocdcoresession.py", line 386, in __enter__ File "pyocdcoresession.py", line 523, in open File "pyocdboardboard.py", line 124, in init File "pyocdcoresoc_target.py", line 147, in init File "pyocdutilitysequencer.py", line 213, in invoke File "pyocdutilitysequencer.py", line 208, in invoke File "pyocdcoresightdap.py", line 406, in _connect File "pyocdcoresightdap.py", line 180, in connect File "pyocdcoresightdap.py", line 221, in _connect_dp File "pyocdcoresightdap.py", line 248, in read_idr File "pyocdprobecmsis_dap_probe.py", line 348, in read_dp pyocd.core.exceptions.TransferError: Unexpected ACK value (5) returned by probe[0m |
|
相关推荐
1个回答
|
|
我发现问题了,rt-studio带的pyocd0.1.6存在bug,他可能会把stm32f405芯片,知道别为L4系列的芯片,我换了ulink,就可以debug了,然后换了另外一个板子还5上面5 ,daplink也可以使用。现在看来,某种情况下,pyocd不太可靠。
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
1056 浏览 0 评论
AI模型部署边缘设备的奇妙之旅:如何在边缘端部署OpenCV
3545 浏览 0 评论
tms320280021 adc采样波形,为什么adc采样频率上来波形就不好了?
1482 浏览 0 评论
2181 浏览 0 评论
1663 浏览 0 评论
75373 浏览 21 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-29 00:25 , Processed in 0.352408 second(s), Total 37, Slave 32 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号