diff options
author | Matthias Welwarsky <matthias@welwarsky.de> | 2015-12-11 15:12:56 +0100 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2016-01-22 11:05:31 +0000 |
commit | a185eaad9d2fd25e3e53398a235e08f07f360e74 (patch) | |
tree | acc5fa1b8f6da9195ad58da8f3e17ae64c777c97 /BUGS | |
parent | ae8cdc139e12a851107e8f882c5a166a21103ad4 (diff) |
adi_v5_jtag: implement DAP WAIT support
ADIv5 specifies that DP and AP accesses may generate a WAIT
response when the hardware is not able to complete a request for various
reasons in time before the next request is sent. Currently, the software
treats a WAIT response as a fatal error and aborts operation on the DAP.
This patch implements WAIT handling by keeping a journal of all
outstanding and completed accesses, including their response status.
At certain times (when dap_run() is called), the journal is inspected
for WAIT responses and all discarded accesses are replayed to complete
them. Special care is taken to not re-execute already successfully
completed operations.
Change-Id: I2790070388cf1ab2e8c9a042d74eb3ef776aa583
Signed-off-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-on: http://openocd.zylin.com/3166
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'BUGS')
0 files changed, 0 insertions, 0 deletions