Skip to content

esp-usb-serial-jtag: Add write batching #1633

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

Merged
merged 6 commits into from
Jul 5, 2023

Conversation

MabezDev
Copy link
Member

  • Split single execution writes in prepare_ and recieve_ parts.
  • Add batched writes which runs prepare x times and batches results.
  • To facilitate batching, an OwnedBitIter struct was added to keep the
    bits around longer than a single write call.
  • Added the ability to query the probe speed
  • Finally, add a warning when using the default implementation for JTAGAccess::write_register_batch.

@MabezDev MabezDev force-pushed the esp-jtag-batching branch 4 times, most recently from 62e17f0 to 7f724fa Compare June 11, 2023 16:26
@MabezDev
Copy link
Member Author

@Yatekii, any thoughts on this PR?

@Yatekii
Copy link
Member

Yatekii commented Jul 1, 2023

I like this a lot! Will do a proper review this weekend :) sorry it takes so long ...

MabezDev added 5 commits July 4, 2023 11:51
* Split single execution writes in `prepare_` and `recieve_` parts.
* Add batched writes which runs `prepare` x times and batches results.
* To facilitate batching, a `OwnedBitIter` struct was added to keep the
  bits around longer than a single write location.
@MabezDev MabezDev force-pushed the esp-jtag-batching branch from dd10c01 to a74ab61 Compare July 4, 2023 10:51
Copy link
Member

@Yatekii Yatekii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, thank you! I sprinkled some comments for good measure ;)

@MabezDev MabezDev requested a review from Yatekii July 5, 2023 11:46
@MabezDev MabezDev force-pushed the esp-jtag-batching branch from 3a5a107 to 5a79571 Compare July 5, 2023 11:49
@Yatekii Yatekii added this pull request to the merge queue Jul 5, 2023
Merged via the queue into probe-rs:master with commit 8f50cc4 Jul 5, 2023
@MabezDev MabezDev deleted the esp-jtag-batching branch July 5, 2023 13:16
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.

2 participants