jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / tcl / interface / ftdi / c232hm.cfg
1 # FTDI USB Hi-Speed to MPSSE Cable
2 #
3 # http://www.ftdichip.com/Products/Cables/USBMPSSE.htm
4 #
5 # C232HM-DDHSL-0 and C232HM-EDSL-0 provide 3.3V and 5V on pin 1 (Red),
6 # respectively.
7 #
8 # Adapter: http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_C232HM_MPSSE_CABLE.PDF
9 # Chip: http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232H.pdf
10 # See pinout/colors at end of this file.
11 #
12 # Tech notes:
13 # http://www.ftdichip.com/Support/Documents/AppNotes/AN_135_MPSSE_Basics.pdf
14 # http://www.ftdichip.com/Support/Documents/AppNotes/AN_129_FTDI_Hi_Speed_USB_To_JTAG_Example.pdf
15
16 adapter driver ftdi
17 #ftdi device_desc "C232HM-DDHSL-0"
18 #ftdi device_desc "C232HM-EDHSL-0"
19
20 # Common PID for FT232H
21 ftdi vid_pid 0x0403 0x6014
22
23 # Layout
24 # High data byte 0x40 configures red LED on ACBUS6 initially high (unlit, since active-low)
25 # Low data byte 0x08 configures TMS on ACBUS3 initially high (asserted); TCK, TDI low
26 # High direction byte 0x40 configures red LED on ACBUS6 as high (output)
27 # Low direction byte 0x0b configures TDO on ACBUS2 as low (input)
28 ftdi layout_init 0x4008 0x400b
29
30 # ---A*BUS-------CCCCCCCC|DDDDDDDD
31 # --------\______76543210|76543210
32 # LED 0x4000 = 01000000|00000000 = ACBUS6
33 #GPIOL0 0x0010 = 00000000|00010000 = ADBUS4
34 #GPIOL1 0x0020 = 00000000|00100000 = ADBUS5
35 #GPIOL2 0x0040 = 00000000|01000000 = ADBUS6
36 #GPIOL3 0x0080 = 00000000|10000000 = ADBUS7
37 # -ndata treats the LED as active-low for expected behavior (toggle when transferring)
38 ftdi layout_signal LED -ndata 0x4000
39 # Available for aliasing as desired
40 ftdi layout_signal GPIOL0 -data 0x0010 -oe 0x0010
41 ftdi layout_signal GPIOL1 -data 0x0020 -oe 0x0020
42 ftdi layout_signal GPIOL2 -data 0x0040 -oe 0x0040
43 ftdi layout_signal GPIOL3 -data 0x0080 -oe 0x0080
44
45 # C232HM FT232H JTAG/Other
46 # Num Color Name Func
47 # 1 Red VCC Optionally, can power the board if it is not using its own power supply.
48 # 2 Orange ADBUS0 TCK
49 # 3 Yellow ADBUS1 TDI
50 # 4 Green ADBUS2 TDO
51 # 5 Brown ADBUS3 TMS
52 # 6 Grey ADBUS4 GPIOL0
53 # 7 Purple ADBUS5 GPIOL1
54 # 8 White ADBUS6 GPIOL2
55 # 9 Blue ADBUS7 GPIOL3
56 # 10 Black GND Connect to ground

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)