Dear support,
I am using pyOCD v0.33.1 and Python3.10 on Ubuntu 16.04 to debug RT110-EVK board via the default DAP-Link interface. Initially things are fine and I can use "pyocd load xxx.elf" to download sample apps to the device and then use "minicom -D /dev/ttyACM0" to see the console outputs.
However, after some use, I encountered issues.
I still can do "pyocd list" and "pyocd reset":
$ pyocd list
0 MIMXRT1170-EVK [mimxrt1170_cm7] 02440000092ced5300000000000000000000000097969905
$ pyocd reset -v0000591 I Target type is mimxrt1170_cm7 [board]
0000627 I Performing 'hw' reset... [reset_cmd]
0000836 I Done. [reset_cmd]
but can't do other operations like "pyocd load" or "pyocd gdb", they both showed below errors:
$ pyocd gdb
0000600 I Target type is mimxrt1170_cm7 [board]
0000668 I DP IDR = 0x6ba02477 (v2 rev6) [dap]
0000704 I AHB-AP#0 IDR = 0x84770001 (AHB-AP var0 rev8) [ap]
0000740 E probe exception during disconnect: [session]...
pyocd.core.exceptions.TransferFaultError: Memory transfer fault
...
pyocd.core.exceptions.TransferTimeoutError
I then tried connecting the device with MCUXpresso IDE, but still got the following error:
Failed to execute MI command: -target-select extended-remote localhost:10989
Error message from debugger back end:
Remote communication error. Target disconnected.: (undocumented errno 10061).
So it seems that the device's DAP-Link port is in a strange status. Does anyone know what happened and how to recover from this situation?
Regards,
yanfeng