0030560ca9cc562be4ab36e3bf4b448f0ef720fe
[fw/openocd] / tcl / interface / sysfsgpio-raspberrypi.cfg
1 #
2 # Config for using RaspberryPi's expansion header
3 #
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
7 #
8 # Do not forget the GND connection, pin 6 of the expansion header.
9 #
10
11 adapter driver sysfsgpio
12
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
16
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
20
21 # If you define trst or srst, use appropriate reset_config
22 # Header pin numbers: TRST - 26, SRST - 18
23
24 # sysfsgpio trst_num 7
25 # reset_config trst_only
26
27 # sysfsgpio srst_num 24
28 # reset_config srst_only srst_push_pull
29
30 # or if you have both connected,
31 # reset_config trst_and_srst srst_push_pull