-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFT2232HL.cfg
56 lines (43 loc) · 1.42 KB
/
FT2232HL.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# OpenOCD configuration file for the FTDI FT2232HL
# evaluation board used as JTAG adapter
# Include the configuration for the JTAG adapter.
# If you have a different interface, please edit this to include the
# configuration file of yours.
adapter driver ftdi
# interface ftdi # old style
# USB vendor ID and product ID
ftdi_vid_pid 0x0403 0x6010
# iProduct string
# ftdi_device_desc "Dual RS232-HS"
# channel of the FTDI device to use for MPSSE operations.
ftdi_channel 0
# Initial values of the FTDI GPIO data and direction registers.
# ref: FTDI AN-129
# [data] [direction]
# [ACBUS7~ACBUS0, ADBUS7, ADBUS0]
# direction: 1 for output, 0 for input, use 0 for default
# state: 1 for high, 0 for low
# PIN JTAG DIR DATA
# AD0 TCK output 0
# AD1 TDI output 0
# AD2 TDO input 0
# AD3 TMS output 1
# so data cfg = 0b00001000 = 0x08
# direction = 0b00001011 = 0x0b
ftdi_layout_init 0x0008 0x000b
# Value from other boards (with GPIO as LED)
# ftdi_layout_init 0x0038 0x003b
# ftdi_layout_init 0x00e8 0x00eb
# Connection
# ft232r_jtag_nums tck tms tdi tdo
# default = 0 3 1 2
# AD0 - TCLK/SK
# AD1 - TDI/DO
# AD2 - TDO/DI
# AD3 - TMS/CS
transport select jtag
# The speed of the JTAG interface, in KHz. If you get DSR/DIR errors (and they
# do not relate to OpenOCD trying to read from a memory range without physical
# memory being present there), you can try lowering this.
adapter speed 8000
# adapter_khz 8000 # old style