diff options
author | Amaury Pouly <amaury.pouly@lowrisc.org> | 2023-05-17 12:09:32 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2023-05-25 16:19:12 +0000 |
commit | 5924d9f30cd68333d37caa7ac8cad43f036148dc (patch) | |
tree | 3b4d23bc81620dc9cc51c089a978f97a2da7079a /src/svf | |
parent | 4defa3b1e323b7f7287d8e046b2c97ad4a749f87 (diff) | |
download | riscv-openocd-5924d9f30cd68333d37caa7ac8cad43f036148dc.zip riscv-openocd-5924d9f30cd68333d37caa7ac8cad43f036148dc.tar.gz riscv-openocd-5924d9f30cd68333d37caa7ac8cad43f036148dc.tar.bz2 |
target/riscv-013: clear sticky error when DMI operation fails
When a DMI operation does not succeed (either because of a timeout
or an error), the specification says that the error in the `op`
field is sticky and needs to cleared by writing `dmireset` in `dtmcs`.
This is already done for timeouts in increase_dmi_busy_delay
but not for errors.
Change-Id: I7c5f27a5cf145511a1a8b64a45a586521e1cbe41
Signed-off-by: Amaury Pouly <amaury.pouly@lowrisc.org>
Reviewed-on: https://review.openocd.org/c/openocd/+/7688
Tested-by: jenkins
Reviewed-by: Tim Newsome <tim@sifive.com>
Reviewed-by: Jan Matyas <jan.matyas@codasip.com>
Diffstat (limited to 'src/svf')
0 files changed, 0 insertions, 0 deletions