diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-15 13:02:45 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-15 13:02:45 -0800 |
commit | 183765707fb4d819b790b9431b83a9bf637fadc5 (patch) | |
tree | 295ac893b3ab8b92b10380282f8e206a43827cbe | |
parent | 6c4a643d632c6cff647c5099bd450d1e417903ea (diff) | |
download | openocd+libswd-183765707fb4d819b790b9431b83a9bf637fadc5.tar.gz openocd+libswd-183765707fb4d819b790b9431b83a9bf637fadc5.tar.bz2 openocd+libswd-183765707fb4d819b790b9431b83a9bf637fadc5.tar.xz openocd+libswd-183765707fb4d819b790b9431b83a9bf637fadc5.zip |
ADIv5 improved diagnostic
Don't just complain about an invalid ACK; say what the
value was, to help troubleshooting.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-rw-r--r-- | src/target/arm_adi_v5.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 1a864589..ba5db3b1 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -305,8 +305,9 @@ int swjdp_transaction_endcheck(struct swjdp_common *swjdp) } else { - LOG_WARNING("Invalid ACK " - "in JTAG-DP transaction"); + LOG_WARNING("Invalid ACK %#x" + "in JTAG-DP transaction", + swjdp->ack); return ERROR_JTAG_DEVICE_ERROR; } |