forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jtag_dmi_reg_frontdoor] Send an extra JTAG read after a DMI request
This fixes a rather confusing behaviour of our DMI over JTAG implementation. If the JTAG clock happens to be running much faster than the main clock, we might respond with a spurious DmiOpOk to the first transaction after a request, even if the request is still being handled. Gah! Make the driver careful to send a spare JTAG read to ensure we really are waiting until the operation is finished. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
- Loading branch information
1 parent
d84f9b3
commit c592837
Showing
1 changed file
with
55 additions
and
21 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