Open mrx23dot opened 1 year ago
Sure, but when I change the USB driver can I still use it with vanila openocd? Also WCH uses some modified openocd.
I came up with an idea to access the Windows driver. The underlying driver interface is open-sourcepublished:
https://github.com/openwch/usb-jtag-spi/blob/9c925295ed755563bd91c59f7da0b6c5e4e0b1ab/src/WIN%20APP/External/CH375DLL.H
I haven't dug into the gdb debugging protocol yet. I prefer to leave it to openocd. Or pyocd.