Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debugging via openocd #31

Open
mrx23dot opened this issue Oct 11, 2023 · 3 comments
Open

Add debugging via openocd #31

mrx23dot opened this issue Oct 11, 2023 · 3 comments
Assignees

Comments

@mrx23dot
Copy link

No description provided.

@andelf
Copy link
Contributor

andelf commented Oct 12, 2023

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

@mrx23dot
Copy link
Author

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

@andelf andelf self-assigned this Nov 5, 2023
@andelf
Copy link
Contributor

andelf commented Nov 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants