aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2019-09-11 10:48:18 -0700
committerGitHub <noreply@github.com>2019-09-11 10:48:18 -0700
commit11e6127401d43ba6226ac943c90263315a58732d (patch)
treef4c72ef63365de9cb4eeef70cfa6904da6ef8afa
parent274be9587f69055230e28ae3e3b54be508969294 (diff)
downloadriscv-openocd-11e6127401d43ba6226ac943c90263315a58732d.zip
riscv-openocd-11e6127401d43ba6226ac943c90263315a58732d.tar.gz
riscv-openocd-11e6127401d43ba6226ac943c90263315a58732d.tar.bz2
Display IDCODE in message about it not existing. (#404)
Change-Id: I1d1ca10ec62502c4757b64122e190ff964616684
-rw-r--r--src/jtag/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/core.c b/src/jtag/core.c
index f90ae99..876faae 100644
--- a/src/jtag/core.c
+++ b/src/jtag/core.c
@@ -1107,7 +1107,7 @@ static int jtag_examine_chain(void)
if ((idcode & 1) == 0) {
/* Zero for LSB indicates a device in bypass */
- LOG_INFO("TAP %s does not have IDCODE", tap->dotted_name);
+ LOG_INFO("TAP %s has invalid IDCODE (0x%x)", tap->dotted_name, idcode);
tap->hasidcode = false;
tap->idcode = 0;