drivers: cmsis-dap: fix connection in JTAG mode
[openocd.git] / tcl / interface / sysfsgpio-raspberrypi.cfg
blob9f5b87c388fb1ea573c708ae35cc338e0b983762
2 # Config for using RaspberryPi's expansion header
4 # This is best used with a fast enough buffer but also
5 # is suitable for direct connection if the target voltage
6 # matches RPi's 3.3V
8 # Do not forget the GND connection, pin 6 of the expansion header.
11 interface sysfsgpio
13 # Each of the JTAG lines need a gpio number set: tck tms tdi tdo
14 # Header pin numbers: 23 22 19 21
15 sysfsgpio_jtag_nums 11 25 10 9
17 # Each of the SWD lines need a gpio number set: swclk swdio
18 # Header pin numbers: 23 22
19 sysfsgpio_swd_nums 11 25
21 # If you define trst or srst, use appropriate reset_config
22 # Header pin numbers: TRST - 26, SRST - 18
24 # sysfsgpio_trst_num 7
25 # reset_config trst_only
27 # sysfsgpio_srst_num 24
28 # reset_config srst_only srst_push_pull
30 # or if you have both connected,
31 # reset_config trst_and_srst srst_push_pull