DAPLink icon indicating copy to clipboard operation
DAPLink copied to clipboard

CMSIS-DAP over Ethernet

Open 0Grit opened this issue 6 years ago • 3 comments

I want to debug and monitor a board running mbedOS remotely over a local IP based network.

Any comments on the feasibility of adding gdbserver protocol support or a "pyOCDserver" interface to daplink?

I'm envisioning using a modified FRDM-K64 or an evolved version of the CI board to act as a network debug server and test runner.

0Grit avatar Sep 06 '18 18:09 0Grit

Hi @loverdeg-ep. The easiest way to do this, and the only way right now, is connect the board to a PC, run pyocd-gdbserver on that PC with the --persist and --allow-remote options, then connect to it from your development machine. You could even use a Raspberry Pi as the "PC" server running pyOCD.

Serving the CMSIS-DAP protocol over a TCP port would be an interesting addition to DAPLink, but won't happen in the short term. I have added it to the todo list, though! 😀

flit avatar Sep 06 '18 21:09 flit

@flit

Yes, currently using an in-house SBC versus PI.

Glad to see it has been added to the list.

This would be a particularly nice feature when used with an Eclipse Che workspace, custom POE CI board, and CI system.

0Grit avatar Sep 06 '18 22:09 0Grit

there is esp8266-cmsis-dap implementation which uses usbip which can be used for inspiration for interim solution

cz172638 avatar May 14 '21 08:05 cz172638