-
Notifications
You must be signed in to change notification settings - Fork 73
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
changes for openocd. Allow queuing of CMD_XFER #102
Conversation
Hi @phdussud, Thanks for all the work you've done on fixing OpenOCD and its upstreaming. I'm a little concerned about OpenOCD reviewers reaction, because I'd really like to have at least basic DJTAG1 compatibility. I don't mind modifying DJTAG2 though. |
Hi @jeanthom, |
Fully agree with you. Users will have to reflash with a firmware update, that's it. |
I initially thought that keeping the V1 support would be nice for implementing DirtyJTAG on new targets, but judging the amount of code it would take to have support for both versions in OpenOCD it would be hardly practical for the devs. So, yeah let's do OpenOCD for DJTAG2 only, it will be fine. I would like to have an error message for DJTAG1 users, telling them that they have to upgrade their probe so that the user experience isn't confusing. Regarding the merge on DirtyJTAG v2 onto master, I have a couple of small things I want to review (I'd like to update the USB descriptors to reflect that the project has grown up, it's not a one-man band anymore - they are in fact more active on this project than I am, I don't deserve all the credit 😄). I will try to finalize the merge next week. |
Hi, Maybe something in the likes of "The probe appears to be running an old version of DirtyJTAG. Please upgrade to DirtyJTAG 2.0 or newer."? What do you think? |
Maybe "The probe appears to be running version 1 of DirtyJTAG. Please upgrade to DirtyJTAG 2.0 or newer." ? |
Yes, that's better. |
I submitted the change to review. |
Change required for OpenOCD integration
Change required for OpenOCD integration
Change required for OpenOCD integration
Change required for OpenOCD integration
Hello!
My openocd changes got refused because we weren't batching the small XFERS into an optimal number of USB transactions. I completely rewrote the code based on their bitq framework that does the a whole bunch of work, leaving the probe code to manage IO (batching on output and un-batching on input). The requires some changes in our code. Here are the changes.
Thanks!