我目前正在使用 OpenOCD 来调试 Cortex-M33 处理器。但是,在它连接到 gdb 并开始调试后,它会显示以下消息:
Try to search windows process
Found openocd running, Kill it
SUCCESS: The process "openocd.exe" with PID 18768 has been terminated.
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : FTDI SWD mode enabled
adapter speed: 1000 kHz
adapter_nsrst_delay: 200
cortex_mX3 reset_config sysresetreq
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x6ba02477
Info : rtl8722csm.cpu: hardware has 2 breakpoints, 1 watchpoints
Info : accepting 'gdb' connection on tcp/3333
undefined debug reason 7 - target needs reset
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000100 msp: 0x0008fffc
Error: address + size wrapped (0xfffffffe, 0x00000004)
Error: address + size wrapped (0xfffffffe, 0x00000004)
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x00000000
Info : SWD DPIDR 0x6ba02477
Error: Failed to read memory at 0x00000000
Polling target rtl8722csm.cpu failed, trying to reexamine
Info : SWD DPIDR 0x6ba02477
Info : rtl8722csm.cpu: hardware has 2 breakpoints, 1 watchpoints
target halted due to debug-request, current mode: Thread
xPSR: 0x61000000 pc: 0x0c004132 psp: 0x00089a58
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000100 msp: 0x0008fffc
我对 OpenOCD 设置不太熟悉,那么这个“调试原因 7”问题的可能原因是什么,或者我如何确定问题的原因?谢谢!