You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dug a bit farther into this and it looks like line reset is actually an swj sequence in openocd and not an swd sequence like I originally thought. I observed the swd pins with a logic analyzer and sure enough it's generating a line reset.
I also tried the same thing with a raspberry pi probe, which works, to compare the two signals and I have some leads to look into.
There is an extra transfer the raspberry pi probe sends, that the rusty probe doesn't send. I think it's a TARGETSEL command, but the target doesn't respond to it anyway. Maybe openocd treats the rusty probe differently than the raspberry pi probe for some reason, which is causing the difference in functionality.
The output from the rusty probe is slower than the raspberry pi probe and the swj sequence is bit-banged and is inconsistent sometimes so maybe the line reset isn't working on the target.
Just some thoughts at the moment, I might see if I can get a pio version of swj sequence command working.
Here is the output I'm getting.
I did some digging and I think this is at least because openocd uses an swd sequence for LINE_RESET and it doesn't look like swd sequences are supported in the firmware yet.
https://github.com/foss-for-synopsys-dwc-arc-processors/openocd/blob/master/src/target/adi_v5_swd.c#L171
The text was updated successfully, but these errors were encountered: