打印
[AT32F407]

RTThread+AT32+JLink下载不进去

[复制链接]
654|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
lpx2888|  楼主 | 2022-6-29 21:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
RTThread AT32F407 JLink下载的时候,偶尔能下载进去,大部分时候下载不进去,错误信息如下:
0001261:INFO:board:Target type is at32f407vgt7
0001766:INFO:dap:DP IDR = 0x2ba01477 (v1 rev2)
0001800:CRITICAL:__main__:uncaught exception: 'JLinkProbe' object has no attribute '_lock'
Traceback (most recent call last):
  File "pyocd\__main__.py", line 362, in run
  File "pyocd\__main__.py", line 680, in do_gdbserver
  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 359, in power_up_debug
  File "pyocd\coresight\dap.py", line 348, in write_reg
  File "pyocd\coresight\dap.py", line 528, in write_dp
  File "pyocd\coresight\dap.py", line 480, in _set_dpbanksel
  File "pyocd\coresight\dap.py", line 252, in lock
  File "pyocd\probe\debug_probe.py", line 173, in lock
AttributeError: 'JLinkProbe' object has no attribute '_lock'

使用特权

评论回复
沙发
sheltonyu| | 2022-6-30 09:20 | 只看该作者
jlink下载方式因一些原因后续不再支持,请采用dap-link方式

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

7

帖子

1

粉丝