Skip to content

Conversation

spotlightishere
Copy link

Recent versions of tinyUSB, such as what's currently included in recent versions of pico-sdk, appear to have changed to require flushing after writes. Without this, nothing is (immediately) written in response from the probe, breaking JTAG.
This PR applies a fix similar to what picoprobe applied upstream.

(Is this the USB incompatibility mentioned in the README? With this applied, JTAG and other functionality appears to otherwise work as prior.)

@nezza
Copy link
Contributor

nezza commented Jul 14, 2023

Thank you, I'll test if this is the incompatibility!

@tjkr0wn
Copy link

tjkr0wn commented Jul 26, 2023

Just tried this fix and it didn't really do anything. I'm using a T8015, demoting with checkra1n, disconnecting and connecting to the Tamarin cable, and openOCD still refuses to connect with the same error as issue #4.

@nezza
Copy link
Contributor

nezza commented Jul 26, 2023

@tjkr0wn Your issue is unrelated to what this PR is about

@tjkr0wn
Copy link

tjkr0wn commented Jul 26, 2023

@tjkr0wn Your issue is unrelated to what this PR is about

The author of the PR implied JTAG functionality may have been broken because of the tinyUSB change. After ruling out all possible causes for my issue, I assumed this pertained to it and tried it. Would just like to say that my host (ASi) is probably the culprit, as someone else got T8015 to work, so ignore my comments.

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

Successfully merging this pull request may close these issues.

3 participants