-
-
Save tux19/653599fadfd42982ce85c4d2bd18cd2b to your computer and use it in GitHub Desktop.
LPC4088 pyOCD Debug Output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1-gdb-set target-async on | |
2-interpreter-exec console "source .pioinit" | |
3-enable-pretty-printing | |
GDB -> App: {"outOfBandRecord":[]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Preparing firmware for debugging...\n"}]} | |
Preparing firmware for debugging... | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Processing lpc4088 (platform: nxplpc; board: lpc4088; framework: mbed)\n"}]} | |
Processing lpc4088 (platform: nxplpc; board: lpc4088; framework: mbed) | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"--------------------------------------------------------------------------------\n"}]} | |
-------------------------------------------------------------------------------- | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Verbose mode can be enabled via `-v, --verbose` option\n"}]} | |
Verbose mode can be enabled via `-v, --verbose` option | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc/lpc4088.html\n"}]} | |
CONFIGURATION: https://docs.platformio.org/page/boards/nxplpc/lpc4088.html | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PLATFORM: NXP LPC (7.0.0+sha.241dc20) > Embedded Artists LPC4088 QuickStart Board\n"}]} | |
PLATFORM: NXP LPC (7.0.0+sha.241dc20) > Embedded Artists LPC4088 QuickStart Board | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"HARDWARE: LPC4088 120MHz, 96KB RAM, 512KB Flash\n"}]} | |
HARDWARE: LPC4088 120MHz, 96KB RAM, 512KB Flash | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (jlink)\n"}]} | |
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (jlink) | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PACKAGES: \n"}]} | |
PACKAGES: | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":" - framework-mbed 6.51506.201227 (5.15.6) \n"}]} | |
- framework-mbed 6.51506.201227 (5.15.6) | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":" - toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)\n"}]} | |
- toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1) | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Collecting mbed sources...\n"}]} | |
Collecting mbed sources... | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf\n"}]} | |
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"LDF Modes: Finder ~ chain, Compatibility ~ soft\n"}]} | |
LDF Modes: Finder ~ chain, Compatibility ~ soft | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Found 4 compatible libraries\n"}]} | |
Found 4 compatible libraries | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Scanning dependencies...\n"}]} | |
Scanning dependencies... | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"No dependencies\n"}]} | |
No dependencies | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Building in debug mode\n"}]} | |
Building in debug mode | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Checking size .pio/build/lpc4088/firmware.elf\n"}]} | |
Checking size .pio/build/lpc4088/firmware.elf | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Advanced Memory Usage is available via \"PlatformIO Home > Project Inspect\"\n"}]} | |
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"RAM: [ ] 3.4% (used 3349 bytes from 98304 bytes)\n"}]} | |
RAM: [ ] 3.4% (used 3349 bytes from 98304 bytes) | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Flash: [= ] 6.9% (used 36288 bytes from 524288 bytes)\n"}]} | |
Flash: [= ] 6.9% (used 36288 bytes from 524288 bytes) | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"========================= [SUCCESS] Took 2.01 seconds =========================\n"}]} | |
========================= [SUCCESS] Took 2.01 seconds ========================= | |
undefined0000470:WARNING:gdb_server:pyocd-gdbserver is deprecated; please use the new combined pyocd tool. | |
0001214:INFO:board:Target type is lpc4088 | |
0001259:INFO:dap:DP IDR = 0x2ba01477 (v1 rev2) | |
0001283:INFO:ap:AHB-AP#0 IDR = 0x24770011 (AHB-AP var1 rev2) | |
0001315:INFO:rom_table:AHB-AP#0 Class 0x1 ROM table #0 @ 0xe00ff000 (designer=43b part=4c4) | |
0001362:INFO:rom_table:[0]<e000e000:SCS-M4 class=14 designer=43b part=00c> | |
0001406:INFO:rom_table:[1]<e0001000:DWT class=14 designer=43b part=002> | |
0001440:INFO:rom_table:[2]<e0002000:FPB class=14 designer=43b part=003> | |
0001495:INFO:rom_table:[3]<e0000000:ITM class=14 designer=43b part=001> | |
0001538:INFO:rom_table:[4]<e0040000:TPIU-M4 class=9 designer=43b part=9a1 devtype=11 archid=0000 devid=ca1:0:0> | |
0001558:INFO:rom_table:[5]<e0041000:ETM-M4 class=9 designer=43b part=925 devtype=13 archid=0000 devid=0:0:0> | |
0001561:INFO:cortex_m:CPU core #0 is Cortex-M4 r0p1 | |
0001579:INFO:cortex_m:FPU present: FPv4-SP-D16-M | |
0001584:INFO:dwt:4 hardware watchpoints | |
0001588:INFO:fpb:6 hardware breakpoints, 4 literal comparators | |
0001605:INFO:server:Semihost server started on port 4444 (core 0) | |
0001611:INFO:gdbserver:GDB server started on port 3333 (core 0) | |
GDB -> App: {"outOfBandRecord":[{"isStream":false,"type":"notify","asyncClass":"thread-group-added","output":[["id","i1"]]}]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Reading symbols from /home/chrigi/Documents/PlatformIO/Projects/testtest/.pio/build/lpc4088/firmware.elf...\n"}]} | |
Reading symbols from /home/chrigi/Documents/PlatformIO/Projects/testtest/.pio/build/lpc4088/firmware.elf... | |
GDB -> App: {"token":1,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[]}} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PlatformIO Unified Debugger -> http://bit.ly/pio-debug\n"}]} | |
PlatformIO Unified Debugger -> http://bit.ly/pio-debug | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PlatformIO: debug_tool = cmsis-dap\n"}]} | |
PlatformIO: debug_tool = cmsis-dap | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PlatformIO: Initializing remote target...\n"}]} | |
PlatformIO: Initializing remote target... | |
0001990:INFO:gdbserver:Client connected to port 3333! | |
GDB -> App: {"outOfBandRecord":[{"isStream":false,"type":"notify","asyncClass":"thread-group-started","output":[["id","i1"],["pid","42000"]]}]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":false,"type":"notify","asyncClass":"thread-created","output":[["id","1"],["group-id","i1"]]}]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"main () at src/main.cpp:7\n"}]} | |
main () at src/main.cpp:7 | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"7\t{\n"}]} | |
7 { | |
GDB -> App: {"outOfBandRecord":[{"isStream":false,"type":"exec","asyncClass":"stopped","output":[["frame",[["addr","0x00001e90"],["func","main"],["args",[]],["file","src/main.cpp"],["fullname","/home/chrigi/Documents/PlatformIO/Projects/testtest/src/main.cpp"],["line","7"],["arch","armv7e-m"]]],["thread-id","1"],["stopped-threads","all"]]}]} | |
0002027:INFO:gdbserver:Attempting to load argon | |
0002027:INFO:gdbserver:Attempting to load freertos | |
0002028:INFO:gdbserver:Attempting to load rtx5 | |
0002028:INFO:gdbserver:Attempting to load zephyr | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"target","content":"Error: unrecognized command 'init'\n"}]} | |
Error: unrecognized command 'init' | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Loading section .text, size 0x82e0 lma 0x0\n"}]} | |
Loading section .text, size 0x82e0 lma 0x0 | |
2 | |
GDB -> App: {"token":2,"outOfBandRecord":[{"isStream":false,"type":"status","asyncClass":"download","output":[]}]} | |
4-thread-list-ids | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Loading section .ARM.exidx, size 0x8 lma 0x82e0\n"}]} | |
Loading section .ARM.exidx, size 0x8 lma 0x82e0 | |
GDB -> App: {"token":2,"outOfBandRecord":[{"isStream":false,"type":"status","asyncClass":"download","output":[]}]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Loading section .data, size 0xad8 lma 0x82e8\n"}]} | |
Loading section .data, size 0xad8 lma 0x82e8 | |
GDB -> App: {"token":2,"outOfBandRecord":[{"isStream":false,"type":"status","asyncClass":"download","output":[]}]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Loading section .heap, size 0xe200 lma 0x9000\n"}]} | |
Loading section .heap, size 0xe200 lma 0x9000 | |
GDB -> App: {"token":2,"outOfBandRecord":[{"isStream":false,"type":"status","asyncClass":"download","output":[]}]} | |
5-thread-list-ids | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"target","content":"[---|---|---|---|---|---|---|---|---|----]\n["},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"=="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"=="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"=="},{"isStream":true,"type":"target","content":"=="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"="},{"isStream":true,"type":"target","content":"=====]\n"}]} | |
[---|---|---|---|---|---|---|---|---|----] | |
[========================================} | |
0008450:INFO:loader:Erased 4096 bytes (1 sector), programmed 4096 bytes (8 pages), skipped 94208 bytes (184 pages) at 15.02 kB/s | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Start address 0x1858, load size 94144\n"}]} | |
Start address 0x1858, load size 94144 | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Transfer rate: 14 KB/sec, 1845 bytes/write.\n"}]} | |
Transfer rate: 14 KB/sec, 1845 bytes/write. | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"target","content":"Resetting target with halt\n"}]} | |
Resetting target with halt | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"target","content":"Successfully halted device on reset\n"}]} | |
Successfully halted device on reset | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Temporary breakpoint 1 at 0x1e90: file src/main.cpp, line 7.\n"}]} | |
Temporary breakpoint 1 at 0x1e90: file src/main.cpp, line 7. | |
GDB -> App: {"outOfBandRecord":[{"isStream":false,"type":"notify","asyncClass":"breakpoint-created","output":[["bkpt",[["number","1"],["type","breakpoint"],["disp","del"],["enabled","y"],["addr","0x00001e90"],["func","main()"],["file","src/main.cpp"],["fullname","/home/chrigi/Documents/PlatformIO/Projects/testtest/src/main.cpp"],["line","7"],["thread-groups",["i1"]],["times","0"],["original-location","main"]]]]}]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PlatformIO: Initialization completed\n"}]} | |
PlatformIO: Initialization completed | |
GDB -> App: {"token":2,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[]}} | |
GDB -> App: {"token":3,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[]}} | |
GDB -> App: {"token":4,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["thread-ids",[["thread-id","1"]]],["current-thread-id","1"],["number-of-threads","1"]]}} | |
6-thread-info 1 | |
GDB -> App: {"token":5,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["thread-ids",[["thread-id","1"]]],["current-thread-id","1"],["number-of-threads","1"]]}} | |
7-thread-info 1 | |
GDB -> App: {"token":6,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["threads",[[["id","1"],["target-id","Thread 1"],["frame",[["level","0"],["addr","0x00001858"],["func","Reset_Handler"],["args",[]],["file","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["fullname","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["line","143"],["arch","armv7e-m"]]],["state","stopped"]]]]]}} | |
GDB -> App: {"token":7,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["threads",[[["id","1"],["target-id","Thread 1"],["frame",[["level","0"],["addr","0x00001858"],["func","Reset_Handler"],["args",[]],["file","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["fullname","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["line","143"],["arch","armv7e-m"]]],["state","stopped"]]]]]}} | |
8-stack-list-frames --thread 1 0 20 | |
GDB -> App: {"token":8,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["stack",[["frame",[["level","0"],["addr","0x00001858"],["func","Reset_Handler"],["file","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["fullname","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["line","143"],["arch","armv7e-m"]]]]]]}} | |
9-thread-list-ids | |
GDB -> App: {"token":9,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["thread-ids",[["thread-id","1"]]],["current-thread-id","1"],["number-of-threads","1"]]}} | |
10-thread-info 1 | |
GDB -> App: {"token":10,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["threads",[[["id","1"],["target-id","Thread 1"],["frame",[["level","0"],["addr","0x00001858"],["func","Reset_Handler"],["args",[]],["file","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["fullname","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["line","143"],["arch","armv7e-m"]]],["state","stopped"]]]]]}} | |
11-stack-list-frames --thread 1 0 20 | |
GDB -> App: {"token":11,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["stack",[["frame",[["level","0"],["addr","0x00001858"],["func","Reset_Handler"],["file","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["fullname","/home/chrigi/.platformio/packages/framework-mbed/targets/TARGET_NXP/TARGET_LPC408X/device/TOOLCHAIN_GCC_ARM/startup_LPC408x.S"],["line","143"],["arch","armv7e-m"]]]]]]}} | |
12-stack-list-variables --thread 1 --frame 0 --simple-values | |
GDB -> App: {"token":12,"outOfBandRecord":[],"resultRecords":{"resultClass":"done","results":[["variables",[]]]}} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PlatformIO: Resume the execution to `debug_init_break = tbreak main`\n"}]} | |
PlatformIO: Resume the execution to `debug_init_break = tbreak main` | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"PlatformIO: More configuration options -> http://bit.ly/pio-debug\n"}]} | |
PlatformIO: More configuration options -> http://bit.ly/pio-debug | |
GDB -> App: {"token":0,"outOfBandRecord":[],"resultRecords":{"resultClass":"running","results":[]}} | |
GDB -> App: {"outOfBandRecord":[{"isStream":false,"type":"exec","asyncClass":"running","output":[["thread-id","all"]]}]} | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"console","content":"Note: automatically using hardware breakpoints for read-only addresses.\n"}]} | |
Note: automatically using hardware breakpoints for read-only addresses. | |
0009903:ERROR:gdbserver:Unhandled exception in handle_message: No ACK received | |
Traceback (most recent call last): | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/cmsis_dap_probe.py", line 238, in flush | |
self._link.flush() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/utility/concurrency.py", line 28, in _locking | |
return func(self, *args, **kwargs) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 672, in flush | |
self._read_packet() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/utility/concurrency.py", line 28, in _locking | |
return func(self, *args, **kwargs) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 932, in _read_packet | |
decoded_data = cmd.decode_data(raw_data) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 452, in decode_data | |
data = self._decode_transfer_data(data) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 359, in _decode_transfer_data | |
self._check_response(data[2]) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 342, in _check_response | |
raise DAPAccessIntf.TransferError("No ACK received") | |
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: No ACK received | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/gdbserver/gdbserver.py", line 427, in handle_message | |
reply = handler(msg[msgStart:]) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/gdbserver/gdbserver.py", line 675, in v_command | |
return self.v_cont(cmd) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/gdbserver/gdbserver.py", line 726, in v_cont | |
return self.resume(None) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/gdbserver/gdbserver.py", line 580, in resume | |
self.target.resume() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/coresight/cortex_m.py", line 877, in resume | |
self.flush() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/core/target.py", line 233, in flush | |
self.session.probe.flush() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/cmsis_dap_probe.py", line 240, in flush | |
six.raise_from(self._convert_exception(exc), exc) | |
File "<string>", line 3, in raise_from | |
pyocd.core.exceptions.TransferError: No ACK received | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"log","content":"warning: Remote failure reply: E01\n"}]} | |
warning: Remote failure reply: E01 | |
0009907:ERROR:gdbserver:Unhandled exception in handle_message: No ACK received | |
Traceback (most recent call last): | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/cmsis_dap_probe.py", line 286, in read_ap_result_callback | |
return result() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 847, in read_reg_cb | |
res = transfer.get_result() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 144, in get_result | |
self.daplink.flush() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/utility/concurrency.py", line 28, in _locking | |
return func(self, *args, **kwargs) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 672, in flush | |
self._read_packet() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/utility/concurrency.py", line 28, in _locking | |
return func(self, *args, **kwargs) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 932, in _read_packet | |
decoded_data = cmd.decode_data(raw_data) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 452, in decode_data | |
data = self._decode_transfer_data(data) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 359, in _decode_transfer_data | |
self._check_response(data[2]) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/pydapaccess/dap_access_cmsis_dap.py", line 342, in _check_response | |
raise DAPAccessIntf.TransferError("No ACK received") | |
pyocd.probe.pydapaccess.dap_access_api.DAPAccessIntf.TransferError: No ACK received | |
The above exception was the direct cause of the following exception: | |
Traceback (most recent call last): | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/gdbserver/gdbserver.py", line 425, in handle_message | |
reply = handler() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/gdbserver/gdbserver.py", line 873, in get_registers | |
return self.create_rsp_packet(self.target_facade.get_register_context()) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/gdbserver/context_facade.py", line 101, in get_register_context | |
vals = self._context.read_core_registers_raw(self._full_reg_num_list) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/debug/cache.py", line 48, in read_core_registers_raw | |
return self._regcache.read_core_registers_raw(reg_list) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/cache/register.py", line 96, in read_core_registers_raw | |
if self._check_cache(): | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/cache/register.py", line 77, in _check_cache | |
if self._core.is_running(): | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/coresight/cortex_m.py", line 861, in is_running | |
return self.get_state() == Target.State.RUNNING | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/coresight/cortex_m.py", line 830, in get_state | |
dhcsr = self.read_memory(CortexM.DHCSR) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/coresight/cortex_m.py", line 435, in read_memory | |
result = self.ap.read_memory(addr, transfer_size, now) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/utility/concurrency.py", line 28, in _locking | |
return func(self, *args, **kwargs) | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/coresight/ap.py", line 993, in _read_memory | |
result = read_mem_cb() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/coresight/ap.py", line 972, in read_mem_cb | |
res = result_cb() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/coresight/dap.py", line 717, in read_ap_cb | |
result = result_cb() | |
File "/home/chrigi/.platformio/packages/tool-pyocd/site-packages/py38/pyocd/probe/cmsis_dap_probe.py", line 288, in read_ap_result_callback | |
six.raise_from(self._convert_exception(error), error) | |
File "<string>", line 3, in raise_from | |
pyocd.core.exceptions.TransferError: No ACK received | |
GDB -> App: {"outOfBandRecord":[{"isStream":true,"type":"log","content":"Could not read registers; remote failure reply 'E01'\n"}]} | |
Could not read registers; remote failure reply 'E01' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment