This is an automated email from Gerrit.

Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2365

-- gerrit

commit 764b0d5a1765eab60b3bda032aea1cd29caa4e28
Author: Paul Fertser <fercer...@gmail.com>
Date:   Thu Oct 30 16:22:40 2014 +0300

    drivers/stlink: clarify "init mode failed" message
    
    The message as it was didn't let the user know that something was wrong
    with the target or wiring.
    
    Change-Id: Ib609c2d31959e77413e61c348d0e31d7269d5c58
    Signed-off-by: Paul Fertser <fercer...@gmail.com>

diff --git a/src/jtag/drivers/stlink_usb.c b/src/jtag/drivers/stlink_usb.c
index 58af0dd..cf2922b 100644
--- a/src/jtag/drivers/stlink_usb.c
+++ b/src/jtag/drivers/stlink_usb.c
@@ -1735,7 +1735,7 @@ static int stlink_usb_open(struct hl_interface_param_s 
*param, void **fd)
        err = stlink_usb_init_mode(h, param->connect_under_reset);
 
        if (err != ERROR_OK) {
-               LOG_ERROR("init mode failed");
+               LOG_ERROR("init mode failed (unable to connect to the target)");
                goto error_open;
        }
 

-- 

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to