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' |