diff --git a/jtag/ChangeLog b/jtag/ChangeLog index cf343f2e..aedaec31 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,7 @@ 2009-04-06 Arnim Laeuger + * src/tap/usbconn/libftdi.c: Better errors from ftdi (Jon Smirl) + * src/flash/jedec.c: Author added. 2009-04-05 Arnim Laeuger diff --git a/jtag/src/tap/usbconn/libftdi.c b/jtag/src/tap/usbconn/libftdi.c index fa965c91..59fb3147 100644 --- a/jtag/src/tap/usbconn/libftdi.c +++ b/jtag/src/tap/usbconn/libftdi.c @@ -319,7 +319,8 @@ usbconn_ftdi_common_open( usbconn_t *conn, int printerr ) if (status < 0) { - if (printerr) + /* device not found == -3 */ + if (printerr || (status != -3)) printf( _("%s() failed: %s\n"), __FUNCTION__, ftdi_get_error_string( fc ) ); ftdi_deinit( fc );