summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jtag/drivers/vsllink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jtag/drivers/vsllink.c b/src/jtag/drivers/vsllink.c
index 5c9a8db0..65c3bf17 100644
--- a/src/jtag/drivers/vsllink.c
+++ b/src/jtag/drivers/vsllink.c
@@ -476,6 +476,9 @@ static int vsllink_init(void)
}
VSLLINK_USB_TIMEOUT = to_tmp;
+ /* Some older firmware versions sometimes fail if the
+ * voltage isn't read first.
+ */
vsllink_simple_command(0x01);
result = vsllink_usb_read(vsllink_handle);
if (result != 2)