Skip to content
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

DAP: Investigate supporting multiple queued commands #13

Open
adamgreig opened this issue Apr 19, 2020 · 0 comments
Open

DAP: Investigate supporting multiple queued commands #13

adamgreig opened this issue Apr 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@adamgreig
Copy link
Owner

CMSIS-DAP's DAP_Info command returns a 'maximum packet count', which reflects how many packets the probe can have on-the-go at once. As far as I can tell, this refers to an internal queue of incoming requests which are processed in-order and then results returned in-order in an outgoing queue. Currently the firmware returns '1' for this field, and we always send the result of a request before receiving the next one.

However, this limits USB throughput, especially in HID mode where each frame will either be a new command or a response, but not both. If we could implement a short queue it might help improve throughput. The DAP_TransferAbort command might make more sense too.

@adamgreig adamgreig added the enhancement New feature or request label May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant