diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index ef22c2bf..55cad162 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,6 +1,11 @@ +2010-08-11 Mike Frysinger + + * src/tap/cable/ice100.c: Add version check and firmware upgrade information + for ICE-100B cables (Chad Wentworth). + 2010-08-08 Arnim Laeuger - * src/tap/cable/generic.c: fix TDO handling ingeneric_flush_using_transfer() + * src/tap/cable/generic.c: fix TDO handling in generic_flush_using_transfer() (Matthias Drochner) 2010-08-07 Mike Frysinger diff --git a/urjtag/src/tap/cable/ice100.c b/urjtag/src/tap/cable/ice100.c index 8e8c8b6a..862d1081 100644 --- a/urjtag/src/tap/cable/ice100.c +++ b/urjtag/src/tap/cable/ice100.c @@ -498,6 +498,15 @@ static int ice_init (urj_cable_t *cable) ((cable_params->version >> 4) & 0x0F), ((cable_params->version) & 0x0F)); + if (cable_params->version < 0x0107) + { + urj_log (URJ_LOG_LEVEL_ERROR, + _("The firmware on the ICE-100b needs to be upgraded. Please go to:\n" + "%sto learn how to update the firmware.\n"), + "http://docs.blackfin.uclinux.org/doku.php?id=hw:jtag:ice100b\n"); + return URJ_STATUS_FAIL; + } + /* Set frequency to lowest value */ ice100b_set_freq (cable, avail_freqs[0]); cable_params->sel_rawscan_enabled = (cable_params->version < 0x0107) ? 0 : 1;