]> git.sur5r.net Git - openocd/commitdiff
docs: add original stlink (STLINK-V1) usage note
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 6 Feb 2012 14:54:00 +0000 (14:54 +0000)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 7 Feb 2012 22:38:33 +0000 (22:38 +0000)
Add a note to the docs about the original stlink being broken under linux.

Change-Id: Ib440d78e5c7d31eeace99f611a76fcf701bfb8bc
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/433
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
doc/openocd.texi

index 824e744cda550fcc135ec8008e55b185e51a3ad8..7bfad9bf2dfe00279141e800be1c43e55815b85e 100644 (file)
@@ -434,6 +434,14 @@ They only works with ST Micro chips, notably STM32 and STM8.
 @* Link: @url{http://www.st.com/internet/evalboard/product/251168.jsp}
 @end itemize
 
+For info the original ST-LINK enumerates using the mass storage usb class, however
+it's implementation is completely broken. The result is this causes issues under linux.
+The simplest solution is to get linux to ignore the ST-LINK using one of the following method's:
+@itemize @bullet
+@item modprobe -r usb-storage && modprobe usb-storage quirks=483:3744:i
+@item add "options usb-storage quirks=483:3744:i" to /etc/modprobe.conf
+@end itemize
+
 @section USB Other
 @itemize @bullet
 @item @b{USBprog}