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

probe: cmsis-dap: use Transfer command for one-byte transfer #1639

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

kkitayam
Copy link
Contributor

@kkitayam kkitayam commented Oct 26, 2023

In current implementation, one-byte transfer is encoded with TransferBlock command. But, in case of one-byte transfer, it is better to use Transfer command to reduce USB packet size.

TransferBlock command with one-byte read consumes 5 bytes size.
Transfer command with one-byte read consumes 4 bytes size.
TransferBlock command with one-byte write consumes 9 bytes size.
Transfer command with one-byte write consumes 8 bytes size.

@kkitayam kkitayam force-pushed the cmsis-dap-use-transfer-for-1-byte branch from b13f482 to 8ffd5e2 Compare October 29, 2023 04:58
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.

None yet

1 participant