From: dbrownell at B. <dbr...@ma...> - 2009-09-27 00:01:26
|
Author: dbrownell Date: 2009-09-27 00:01:24 +0200 (Sun, 27 Sep 2009) New Revision: 2760 Modified: trunk/src/jtag/core.c Log: Diagnostics tweaks for jtag_examine_chain() failure paths. Modified: trunk/src/jtag/core.c =================================================================== --- trunk/src/jtag/core.c 2009-09-26 19:18:42 UTC (rev 2759) +++ trunk/src/jtag/core.c 2009-09-26 22:01:24 UTC (rev 2760) @@ -885,8 +885,9 @@ * the scan is not valid */ if (zero_check == 0x00 || one_check == 0xff) { - LOG_ERROR("JTAG communication failure: check connection, " - "JTAG interface, target power etc."); + LOG_ERROR("JTAG scan chain interrogation failed: all %s", + (zero_check == 0x00) ? "zeroes" : "ones"); + LOG_ERROR("Check JTAG interface, timings, target power, etc."); return false; } return true; @@ -1238,7 +1239,7 @@ /* examine chain first, as this could discover the real chain layout */ if (jtag_examine_chain() != ERROR_OK) { - LOG_ERROR("trying to validate configured JTAG chain anyway..."); + LOG_ERROR("Trying to use configured scan chain anyway..."); } if (jtag_validate_ircapture() != ERROR_OK) |