fix confusing output when bit 0 of the idcode is not 1 as required by jtag spec

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1610 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 16 years ago
parent d64f2ddca1
commit 7dc9b20200

@ -6,6 +6,10 @@
* configure.ac: enable -Werror by default only when building out of an scm,
and add an explicit --enable-werror option to control it
* src/tap/detect.c: if the idcode failed to parse, don't print it out like it
actually worked but only returned zero's as this is confusing -- be clear
in that we didn't even attempt to read the idcode
2009-05-19 Arnim Laeuger <arniml>
* data/Makefile.am, data/broadcom/bcm6348/bcm6348,

@ -277,10 +277,11 @@ urj_tap_detect_parts (urj_chain_t *chain, const char *db_path)
urj_tap_register_shift_left (id, 1);
id->data[0] = 1;
did = id;
}
urj_log (URJ_LOG_LEVEL_NORMAL, _("Device Id: %s (0x%016" PRIX64 ")\n"),
urj_tap_register_get_string (did), bits_to_uint64 (did));
urj_log (URJ_LOG_LEVEL_NORMAL, _("Device Id: %s (0x%016" PRIX64 ")\n"),
urj_tap_register_get_string (did), bits_to_uint64 (did));
} else
urj_log (URJ_LOG_LEVEL_NORMAL, _("Device Id: unknown as bit 0 was not a 1\n"));
part = urj_part_alloc (did);
if (part == NULL)

Loading…
Cancel
Save