wlink icon indicating copy to clipboard operation
wlink copied to clipboard

Add debugging via openocd

Open mrx23dot opened this issue 2 years ago • 3 comments

mrx23dot avatar Oct 11 '23 20:10 mrx23dot

I haven't dug into the gdb debugging protocol yet. I prefer to leave it to openocd. Or pyocd.

andelf avatar Oct 12 '23 07:10 andelf

Sure, but when I change the USB driver can I still use it with vanila openocd? Also WCH uses some modified openocd.

mrx23dot avatar Oct 12 '23 08:10 mrx23dot

I came up with an idea to access the Windows driver. The underlying driver interface is ~~open-source~~published: https://github.com/openwch/usb-jtag-spi/blob/9c925295ed755563bd91c59f7da0b6c5e4e0b1ab/src/WIN%20APP/External/CH375DLL.H

andelf avatar Nov 05 '23 02:11 andelf