-
Notifications
You must be signed in to change notification settings - Fork 15
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
Doesn't support CH32 with probe-rs #28
Comments
It has not implemented that interface, only SWD / JTAG is supported by hardware. |
It looks like their protocol is SWD, that's why I made a ticket here. Now, I'm not sure if it's a different brand of SWD than ARM SWD, but I wonder if probe-rs doesn't try because of some configuration that's communicated to it. |
Ah alright! I can't find if it's ADI v5 they implement, probably needs more looking. |
|
As far as I remember, it is not SWD but their custom protocol, which is almost SWD. It's this one, I think: https://perigoso.github.io/rins/rvswd/index.html |
Oh, I was sure RISC-V was always JTAG. I am sorry. |
So this is something that WCH came up with and not a RISC-V standard? |
@jonathanherbstgrapple Looks like it, but the format looks very similar to SWD, extending with this support should be quite straight forward - at least for the bit-banged driver. |
I've been playing around with a WCH32 board. It has an onboard debugger which works with probe-rs, but when I try to run with the rusty probe I get this.
The text was updated successfully, but these errors were encountered: