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>
This commit is contained in:
David Brownell 2010-01-15 13:02:45 -08:00
parent 6c4a643d63
commit 183765707f
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}