Commit | Line | Data |
---|---|---|
7345e955 UB |
1 | Here we try to document what we know about the EEPROM Structure. |
2 | ||
3 | Even with a 93xx66 EEPROM, at maximum 256 Bytes are used | |
4 | ||
5 | All important things happen in the first | |
3c75ad2a | 6 | 0x14(FT232/245), 0x16(FT2232CD), 0x18(FT232/245R) or 0x1a (FT2232H/4432H) bytes |
7345e955 | 7 | |
33887896 | 8 | Type | Use extra EEPROM space |
7345e955 UB |
9 | FT2XXB | No |
10 | ||
11 | Byte.BIT| TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H | |
be4bae37 AL |
12 | 00.0 | 0 0 channel_a_type channel_a_type 0 |
13 | 00.1 | 0 0 channel_a_type channel_a_type 0 | |
14 | 00.2 | 0 0 channel_a_type high_current channel_a_type 0 | |
7345e955 | 15 | 00.3 | 0 0 channel_a_driver channel_a_driver channel_a_driver channel_a_driver |
3c75ad2a | 16 | 00.4 | 0 0 high_current_a 0 0 0 |
7345e955 UB |
17 | 00.5 | 0 0 0 0 0 0 |
18 | 00.6 | 0 0 0 0 0 0 | |
be4bae37 | 19 | 00.7 | 0 0 0 0 SUSPEND_DBUS7 channel_c_driver |
7345e955 UB |
20 | |
21 | On TYPE_R 00.3 set mean D2XX, on other devices VCP | |
22 | ||
be4bae37 AL |
23 | 01.0 | 0 0 channel_b_type channel_b_type 0 |
24 | 01.1 | 0 0 channel_b_type channel_b_type 0 | |
25 | 01.2 | 0 0 channel_b_type 0 channel_b_type 0 | |
7345e955 | 26 | 01.3 | 0 0 channel_b_driver 0 channel_b_driver channel_b_driver |
3c75ad2a | 27 | 01.4 | 0 0 high_current_b 0 0 0 |
7345e955 | 28 | 01.5 | 0 0 0 0 0 0 |
3c75ad2a | 29 | 01.6 | 0 0 0 0 0 |
be4bae37 | 30 | 01.7 | 0 0 0 0 0 channel_d_driver |
7345e955 | 31 | |
be4bae37 | 32 | Fixme: Missing 4232H validation |
7345e955 | 33 | |
33887896 TJ |
34 | 02 | Vendor ID (VID) LSB (all) |
35 | 03 | Vendor ID (VID) MSB (all) | |
36 | 04 | Product ID (PID) LSB (all) | |
37 | 05 | Product ID (PID) MSB (all) | |
38 | 06 | Device release number LSB (not tested on TYPE_4232H) | |
39 | 07 | Device release number MSB (not tested on TYPE_4232H) | |
7345e955 | 40 | | |
33887896 TJ |
41 | 08.4 | Battery powered |
42 | 08.5 | Remote wakeup | |
43 | 08.6 | Self powered: 1, bus powered: 0 | |
7345e955 UB |
44 | 08.7 | Always 1 |
45 | | | |
33887896 | 46 | 09 | Max power (mA/2) |
7345e955 | 47 | | |
be4bae37 AL |
48 | Byte.BIT| TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H |
49 | 0a.0 | 0 IsoIn IsoIn part A 0 0 0 | |
50 | 0a.1 | 0 IsoOut IsoOut part A 0 0 0 | |
51 | 0a.2 | 0 suspend_pull_down suspend_pull_down suspend_pull_down suspend_pull_down | |
52 | 0a.3 | 0 use_serial use_serial use_serial | |
33887896 | 53 | 0a.4 | 0 change_usb_version change_usb_version |
be4bae37 AL |
54 | 0a.5 | 0 0 IsoIn part B 0 0 0 |
55 | 0a.6 | 0 0 IsoOut part B 0 0 0 | |
33887896 TJ |
56 | 0a.7 | 0 - reserved |
57 | ||
be4bae37 AL |
58 | 0b | TYPE_R Bitmask Invert, 0 else |
59 | Byte.BIT| TYPE_4232H | |
60 | 0b.4 | channel_a_rs485enable | |
61 | 0b.5 | channel_b_rs485enable | |
62 | 0b.6 | channel_c_rs485enable | |
63 | 0b.7 | channel_d_rs485enable | |
7345e955 UB |
64 | |
65 | Byte | TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H | |
33887896 TJ |
66 | 0c | 0 USB-VER-LSB USB-VER-LSB 0 ? ? |
67 | 0d | 0 USB-VER-MSB USB-VER-MSB 0 ? ? | |
68 | (On several FT2232H different values were observed -> The value is unused | |
69 | if change USB version is not set, so it might contain garbage) | |
7345e955 UB |
70 | |
71 | 0e | OFFSET Vendor | |
72 | 0f | Len VENDOR | |
73 | ||
74 | 10 | Offset Product | |
75 | 11 | Length Product | |
76 | ||
77 | 12 | Offset Serial | |
78 | 13 | Length Serial | |
79 | ||
80 | Byte.BIT| TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H | |
33887896 TJ |
81 | 14.3:0 | UA UA CHIP CBUS[0] AL A |
82 | 14.7:0 | UA UA CHIP CBUS[1] AH B | |
83 | 15.3:0 | UA UA 0 CBUS[2] BL C | |
84 | 15.7:0 | UA UA 0 CBUS[3] BH D | |
85 | 16.3:0 | UA UA UA CBUS[4] 0 0 | |
86 | 16.7:0 | UA UA UA 0 0 0 | |
3c75ad2a TJ |
87 | |
88 | CHIP values: | |
89 | 0x46: EEPROM is a 93xx46 | |
90 | 0x56: EEPROM is a 93xx56 | |
91 | 0x66: EEPROM is a 93xx66 | |
92 | ||
7345e955 | 93 | 17 UA UA UA 0 0 0 |
33887896 TJ |
94 | 18 UA UA UA VENDOR CHIP CHIP |
95 | 19 UA UA UA VENDOR 0 0 | |
7345e955 | 96 | |
3c75ad2a | 97 | 1a UA (all) |
7345e955 | 98 | |
a45ea32b TJ |
99 | |
100 | Additional fields after the serial string: | |
f24a830c TJ |
101 | 0x00, 0x00 - reserved for "legacy port name prefix" |
102 | 0x00, 0x00 - reserved for plug and play options | |
a45ea32b | 103 | (Observed values with PnP == 0: |
f24a830c | 104 | 0x02 0x03 0x01 0x00) |
a45ea32b TJ |
105 | |
106 | Note: The additional fields after the serial number string | |
107 | collide with the official FTDI formula from AN_121 regarding | |
108 | the start of the user area: | |
109 | "Start Address = the address following the last byte of SerialNumber string." |