-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opentitantool] Better SPI error messages from HyperDebug
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
- Loading branch information
Showing
1 changed file
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters