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

Fix: SWD no-response data phase handling #21

Closed

Conversation

dragonmux
Copy link
Contributor

In this PR, following discussion on the BMD channel on 1b² Discord, we address ORBTrace's handling of the SWD no-response data phase which was previously not being generated.

This phase must be generated per ADIv5.2 §B4.2.5 (Protocol error response) subsection "Host response to protocol errors", first paragraph - "If the host does not receive an expected response from the target, it must not drive the line for at least the length of any potential data phase and then attempt a line reset". Otherwise targets get deeply unhappy and become unrecoverable by protocol recovery.

verilog/swdIF.v Show resolved Hide resolved
@mubes mubes closed this Jan 29, 2024
@dragonmux dragonmux deleted the fix/swd-no-response-data-phase branch January 29, 2024 11:51
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