Add description of EEPROM Structure as decoded by now. Please comment!
[libftdi] / doc / EEPROM-structure
CommitLineData
7345e955
UB
1Here we try to document what we know about the EEPROM Structure.
2
3Even with a 93xx66 EEPROM, at maximum 256 Bytes are used
4
5All important things happen in the first
60x14(FT232/245), 0x16(FT2232CD), 0x18(FT232/245R) or 0x1a (FT2232H/4432H)
7bytes
8
9Type | Use Extra EEPROM Space
10FT2XXB | No
11
12Byte.BIT| TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H
1300.0 | 0 0 channel_a_type channel_a_type channel_a_type
1400.1 | 0 0 channel_a_type channel_a_type channel_a_type
1500.2 | 0 0 channel_a_type high_current channel_a_type channel_a_type
1600.3 | 0 0 channel_a_driver channel_a_driver channel_a_driver channel_a_driver
1700.4 | 0 0 high_current_a 0 0 0
1800.5 | 0 0 0 0 0 0
1900.6 | 0 0 0 0 0 0
2000.7 | 0 0 0 0 SUSPEND_DBUS7 0
21
22On TYPE_R 00.3 set mean D2XX, on other devices VCP
23
2401.0 | 0 0 channel_b_type channel_b_type channel_b_type
2501.1 | 0 0 channel_b_type channel_b_type channel_b_type
2601.2 | 0 0 channel_b_type 0 channel_b_type channel_b_type
2701.3 | 0 0 channel_b_driver 0 channel_b_driver channel_b_driver
2801.4 | 0 0 high_current_b 0 0 0
2901.5 | 0 0 0 0 0 0
3001.6 | 0 0 0 0 0
3101.7 | 0 0 0 0 0 0
32
33Fixme: Missing 4232H validation and channel_c_driver, channel_d_driver, channel_a|b|c|d_rs484enable
34
3502 | VID-LSB(all)
3603 | VID-MSB(all)
3704 | PID-LSB(all)
3805 | PID-MSB(all)
3906 | REL-LSB (not tested on TYPE_AM, TYPE_BM and TYPE_4232H)
4007 | REL-MSB (not tested on TYPE_AM, TYPE_BM and TYPE_4232H)
41 |
4208.4 | Self-Wakeup
4308.5 | Remote-Wakeup
4408.6 | Self-Powered
4508.7 | Always 1
46 |
4709 | MaxPower(maA/2)
48 |
49Byte.BIT| TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H
500a.0 | 0 IsoIn
510a.1 | 0 IsoOut
520a.2 | 0 suspend_pull_down suspend_pull_down suspend_pull_down
530a.3 | 0 use_serial use_serial
540a.4 | 0 change_usb_version change_usb_version
55 |
560b | TYPE_R Bitmask Invert, 0 else
57
58Byte | TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H
590c | ? USB-VER-LSB USB-VER-LSB 0 ? ?
600d | ? USB-VER-MSB USB-VER-MSB 0 ? ?
61On several FT2232H different values were observed
62
63
640e | OFFSET Vendor
650f | Len VENDOR
66
6710 | Offset Product
6811 | Length Product
69
7012 | Offset Serial
7113 | Length Serial
72
73Byte.BIT| TYPE_AM TYPE_BM TYPE_2232C TYPE_R TYPE_2232H TYPE_4232H
7414.3:0 | UA UA CHIP CBUS[0] AL A
7514.7:0 | UA UA CHIP CBUS[1] AH B
7615.3:0 | UA UA 0 CBUS[2] BL C
7715.7:0 | UA UA 0 CBUS[3] BH D
7816.3:0 | UA UA UA CBUS[4] 0 0
7916.7:0 | UA UA UA 0 0 0
80
8117 UA UA UA 0 0 0
8218 UA UA UA VENDOR CHIP CHIP
8319 UA UA UA VENDOR 0 0
84
851a UA(all)
86
87Mprog doesn's seem to write this:
88After last string
890x02 0x03 0x01 with PnP == 0