From 183765707fb4d819b790b9431b83a9bf637fadc5 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Fri, 15 Jan 2010 13:02:45 -0800 Subject: [PATCH] ADIv5 improved diagnostic Don't just complain about an invalid ACK; say what the value was, to help troubleshooting. Signed-off-by: David Brownell --- src/target/arm_adi_v5.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 1a8645897..ba5db3b13 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; } -- 2.11.4.GIT