确保CMSIS-DAP设备的固件是最新的,或者至少是与当前使用的调试工具兼容的版本。过时的固件可能导致与调试工具的通信问题。 调试工具配置问题: 检查调试工具(如Keil、IAR等)的配置设置,确保已正确选择CMSIS-DAP作为调试器,并且相关参数(如调试速率、接口方式等)已正确配置。 软件兼容性问题: 如果使用的是第三方调试工具...
:0x000c, serial=1076602403212711 Info : CMSIS-DAP: SWD Supported Info : CMSIS-DAP: FW Version = 2.0.0 Info : CMSIS-DAP: Interface Initialised (SWD) Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0 Error: CMSIS-DAP command CMD_DAP_SWJ_CLOCK failed....
Error: 29 1092 cmsis_dap_usb.c:503 cmsis_dap_cmd_DAP_Info(): CMSIS-DAP command CMD_INFO failed.Debug: 30 1102 command.c:651 run_command(): Command 'init' failed with error code -107User : 31 1110 command.c:715 command_run_line(): Running OpenOCD with the LPCXpresso824-MAX built...
command[idx++]=CMD_DAP_SWD_SEQUENCE; command[idx++]=3;/* sequence count */ Expand DownExpand Up@@ -783,7 +785,7 @@ static void cmsis_dap_swd_write_from_queue(struct cmsis_dap *dap) uint8_tcmd=transfer->cmd; uint32_tdata=transfer->data; ...
Because OpenOCD is independent of Eclipse or any IDE, it can be used to do command line debugging without an IDE :-). First, have the OpenOCD server running. In a DOS/cmd prompt cd to the OpenOCD installation folder (e.g. in C:\Freescale\KDS_2.0.0\openocd), then launch OpenOCD...
Error: 29 1092 cmsis_dap_usb.c:503 cmsis_dap_cmd_DAP_Info(): CMSIS-DAP command CMD_INFO failed.Debug: 30 1102 command.c:651 run_command(): Command 'init' failed with error code -107User : 31 1110 command.c:715 command_run_line(): Running OpenOCD with the LPCXpresso824-MAX ...
Failed to execute MI command: -target-select extended-remote localhost:10989Error 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 happ...