annotate eeproms/fc-jtag @ 54:47dbfd66bd58

fteeprom-prog: added magic sequence from libftdi
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 May 2019 22:15:20 +0000
parents 60b8cf977c3f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # This EEPROM configuration will be programmed into FreeCalypso UART+JTAG
10
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
2 # adapters (custom hw) based on the FT2232D chip. The hardware is currently
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
3 # under development; once it progresses past the vaporware phase, we are
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
4 # going to submit a patch to the ftdi_sio driver in the Linux kernel to
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
5 # recognize and handle this USB device similarly to several other already
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
6 # existing UART+JTAG adapters of this kind, creating a ttyUSBx device
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
7 # only for Channel B (UART), but not for Channel A (MPSSE JTAG).
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
8 #
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
9 # The distinctive custom USB ID will also help with the custom OpenOCD
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
10 # configuration specific to our particular wiring of the reset and other
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
11 # control signals that accompany JTAG, making our FreeCalypso UART+JTAG
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
12 # adapter easier to identify among other FTDI-based USB devices.
32
60b8cf977c3f unbuffered JTAG adapters: ID assigned and EEPROM config created
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
13 #
60b8cf977c3f unbuffered JTAG adapters: ID assigned and EEPROM config created
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
14 # The present config or the USB ID contained therein MUST NOT be programmed
60b8cf977c3f unbuffered JTAG adapters: ID assigned and EEPROM config created
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
15 # into generic off-the-shelf FT2232x breakout boards - please see the
60b8cf977c3f unbuffered JTAG adapters: ID assigned and EEPROM config created
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
16 # jtag-unbuf config for that purpose. The present config and USB ID
60b8cf977c3f unbuffered JTAG adapters: ID assigned and EEPROM config created
Mychaela Falconia <falcon@freecalypso.org>
parents: 10
diff changeset
17 # may only be used by Falconia Partners LLC with our custom hardware.
7
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 vid 0x0403 # FTDI
10
7b113ad594c0 eeproms/fc-jtag: better comments
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
20 pid 0x7150 # Allocated by FTDI to Falconia Partners LLC
7
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 manuf Harhan
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 product FreeCalypso UART+JTAG Adapter
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 # Try to be nice to Weendoze lusers (or should it be Losedows?)
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 byte00 0x00 # Channel A driver: D2XX
b991cf09f1da eeproms/fc-jtag: preliminary config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 byte01 0x08 # Channel B driver: VCP