Error: CMSIS-DAP command CMD_DAP_SWJ_CLOCK failed. 解决方法:需要指明调试速率,添加速率指示语句之后,错误消失。 ./openocd.exe -s ../tcl -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"
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 ...
You didn't answer whether you found an obsolete UCOM driver installed? If the CMSIS-DAP probe is already booted, you'll get the same message. Reproduce the fail message after using the boot_link2.cmd script, then open an MS-DOS shell and run the usbdiags.cmd script found in the '<...
command[idx++] = CMD_DAP_SWD_SEQUENCE; command[idx++] = 3; /* sequence count */ @@ -783,7 +785,7 @@ static void cmsis_dap_swd_write_from_queue(struct cmsis_dap *dap)uint8_t cmd = transfer->cmd;uint32_t data = transfer->data;LOG_DEBUG_IO("%s %s reg %x %"PRIx32, ...
Because OpenOCD is independent of Eclipse or any IDE, it can be used to do command line debugging without an IDE :-). Advertisement 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 la...
This means it has found the debug probe, which has tried (and failed) to connect to the onboard debug port. As this fails, then you get the errors. So the problem lies between the probe and the chip. So, power and SWD cables are most likely, followed by USB cables. C...
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...
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...
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 happened an...