aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2015-05-16 10:18:19 +0300
committerPaul Fertser <fercerpav@gmail.com>2015-05-17 21:15:24 +0100
commitc6ba0a22404a1f0c806e45ef627f4ab101982c3f (patch)
tree5c087cf706d3986241d7f9b18cee6670d5b2a317 /doc
parent1583379fb91e0040b08e7ac365fa0919ace4e391 (diff)
manual: fix usb_blaster_pin command syntax and description
Change-Id: If3fbb2fe4f1842bea3962a6b903fd16aa9e8b545 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2771 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 57aac0a3..6ce1d285 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2672,15 +2672,16 @@ usb_blaster_vid_pid 0x16C0 0x06AD
@end example
@end deffn
-@deffn {Command} {usb_blaster} (@option{pin6}|@option{pin8}) (@option{0}|@option{1})
-Sets the state of the unused GPIO pins on USB-Blasters (pins 6 and 8 on the
-female JTAG header). These pins can be used as SRST and/or TRST provided the
-appropriate connections are made on the target board.
+@deffn {Command} {usb_blaster_pin} (@option{pin6}|@option{pin8}) (@option{0}|@option{1}|@option{s}|@option{t})
+Sets the state or function of the unused GPIO pins on USB-Blasters
+(pins 6 and 8 on the female JTAG header). These pins can be used as
+SRST and/or TRST provided the appropriate connections are made on the
+target board.
-For example, to use pin 6 as SRST (as with an AVR board):
+For example, to use pin 6 as SRST:
@example
-$_TARGETNAME configure -event reset-assert \
- "usb_blaster pin6 1; wait 1; usb_blaster pin6 0"
+usb_blaster_pin pin6 s
+reset_config srst_only
@end example
@end deffn