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

Cherry-pick to earlgrey_es_sival: [opentitantool] Better SPI error messages from HyperDebug #21368

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

github-actions[bot]
Copy link

This is an automatic cherry-pick of #21349 to branch earlgrey_es_sival.

Add text messages to the numerical codes received from HyperDebug.  The
binary protocol is shared with other debugger devices using the same
codebase as HyperDebug, which unfortunately prevents us from splitting
some of the codes further into more specific cases (such as repeated
"not ready" from flash chip, as opposed to other kinds of timeouts.)

Also, increase the timeout for first response packet via USB to 1.1s,
because the HyperDebug firmware has 1s timeout when repeatedly trying to
poll the "ready bit" on EEPROM/flash devices, and we want to wait to
receive a possible "timeout" response from HyperDebug.

Signed-off-by: Jes B. Klinke <[email protected]>
Change-Id: Ia38eff840c97fb696f2cb1190dbb81c5f0f70a92
(cherry picked from commit 999491d)
@github-actions github-actions bot requested a review from a team as a code owner February 14, 2024 16:52
@github-actions github-actions bot requested review from jon-flatley and removed request for a team February 14, 2024 16:52
@engdoreis engdoreis merged commit 94321b7 into earlgrey_es_sival Feb 20, 2024
28 checks passed
@a-will a-will deleted the backport-21349-to-earlgrey_es_sival branch February 20, 2024 14:43
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