FreeCalypso > hg > fc-usbser-tools
annotate eeproms/mcu-host-bus @ 39:b9ecfa54fe2b
fc-duart28-conf: replace find and check-eeprom with single show command
The original design with separate find and check-eeprom commands
was driven by the assumption that we had to bump off the ftdi_sio driver
in order to read the EEPROM, while a USB device tree check could be done
non-invasively. However, now that we know that we can read the EEPROM
non-invasively too, we can simplify the tool with a single show command.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 10 Sep 2023 19:21:20 +0000 |
parents | 45d026fdb315 |
children | d46ea7a3fa0c |
rev | line source |
---|---|
24
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # We are going to use COTS FT2232D breakout boards in the MCU host bus |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 # emulation mode (enabled at run time via libftdi, cannot be configured |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 # in the EEPROM) to drive several different candidate 176x220 pix TFT LCDs |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 # (8-bit parallel 8080-style interface) as part of our LCD evaluation |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 # testing and vendor selection process. The purpose of this EEPROM config |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 # with a custom FTDI PID is to keep the Linux kernel's ftdi_sio driver |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 # from binding to this FT2232D instance, avoiding the creation of ttyUSBx |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 # device nodes for it. |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 vid 0x0403 # FTDI |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 pid 0x7157 # Allocated by FTDI to Falconia Partners LLC |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 manuf FTDI |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 product MCU host bus emulation |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 # Try to be nice to Weendoze lusers (or should it be Losedows?) |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 byte00 0x00 # Channel A driver: D2XX |
45d026fdb315
eeproms: bring mcu-host-bus over from freecalypso-hwlab
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 byte01 0x00 # Channel B driver: D2XX |