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>
This commit is contained in:
Paul Fertser 2015-05-16 10:18:19 +03:00
parent 1583379fb9
commit c6ba0a2240
1 changed files with 8 additions and 7 deletions

View File

@ -2672,15 +2672,16 @@ usb_blaster_vid_pid 0x16C0 0x06AD
@end example @end example
@end deffn @end deffn
@deffn {Command} {usb_blaster} (@option{pin6}|@option{pin8}) (@option{0}|@option{1}) @deffn {Command} {usb_blaster_pin} (@option{pin6}|@option{pin8}) (@option{0}|@option{1}|@option{s}|@option{t})
Sets the state of the unused GPIO pins on USB-Blasters (pins 6 and 8 on the Sets the state or function of the unused GPIO pins on USB-Blasters
female JTAG header). These pins can be used as SRST and/or TRST provided the (pins 6 and 8 on the female JTAG header). These pins can be used as
appropriate connections are made on the target board. 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 @example
$_TARGETNAME configure -event reset-assert \ usb_blaster_pin pin6 s
"usb_blaster pin6 1; wait 1; usb_blaster pin6 0" reset_config srst_only
@end example @end example
@end deffn @end deffn