Print idcode value in error message.

__archive__
Tim Newsome 2016-05-31 16:03:18 -07:00
parent 041e0ccf9e
commit 63f6999b6d
1 changed files with 2 additions and 1 deletions

View File

@ -1107,7 +1107,8 @@ static int jtag_examine_chain(void)
if ((idcode & 1) == 0) { if ((idcode & 1) == 0) {
/* Zero for LSB indicates a device in bypass */ /* Zero for LSB indicates a device in bypass */
LOG_INFO("TAP %s does not have IDCODE", tap->dotted_name); LOG_INFO("TAP %s does not have valid IDCODE (idcode=0x%x)",
tap->dotted_name, idcode);
tap->hasidcode = false; tap->hasidcode = false;
tap->idcode = 0; tap->idcode = 0;