FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: FT_Prog EEPROM changes are no effective on USB  (Read 13835 times)

amolina

  • Newbie
  • *
  • Posts: 5
    • View Profile
FT_Prog EEPROM changes are no effective on USB
« on: June 19, 2020, 08:56:39 AM »

Hi https://www.ftdicommunity.com/

I have a device with two FT4232H, and to distingish them with lsusb on linux, I add a external EEPROM 93LC66D and program with FT_Prog.
Looks that FT_Prog do the work programming EEPROM (turn off/on and read the data is ok) but changes are not visible on Windows and linux.

Programming EEPROM with FT_prog to change, first serial number, Manufacturer Description, product description, an also Product ID..
None of the changes will be visible, only with FT_progr but not are effective.

May be there are a external pin to activate on FT4232H to enable EEPROM contents?


That's USBVIEW printout:
Code: [Select]
Device Descriptor:
bcdUSB:             0x0200
bDeviceClass:         0x00
bDeviceSubClass:      0x00
bDeviceProtocol:      0x00
bMaxPacketSize0:      0x40 (64)
idVendor:           0x0403 (Future Technology Devices International Limited)
idProduct:          0x6011
bcdDevice:          0x0800
iManufacturer:        0x01
0x0409: "FTDI"
iProduct:             0x02
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
iSerialNumber:        0x00
bNumConfigurations:   0x01

ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed:     High
Device Address:       0x04
Open Pipes:              8

Endpoint Descriptor:
bEndpointAddress:     0x81  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x02  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x83  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x04  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x85  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x06  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x87  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x08  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Configuration Descriptor:
wTotalLength:       0x0065
bNumInterfaces:       0x04
bConfigurationValue:  0x01
iConfiguration:       0x00
bmAttributes:         0x80 (Bus Powered )
MaxPower:             0xFA (500 Ma)

Interface Descriptor:
bInterfaceNumber:     0x00
bAlternateSetting:    0x00
bNumEndpoints:        0x02
bInterfaceClass:      0xFF
bInterfaceSubClass:   0xFF
bInterfaceProtocol:   0xFF
iInterface:           0x02
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"

Endpoint Descriptor:
bEndpointAddress:     0x81  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x02  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Interface Descriptor:
bInterfaceNumber:     0x01
bAlternateSetting:    0x00
bNumEndpoints:        0x02
bInterfaceClass:      0xFF
bInterfaceSubClass:   0xFF
bInterfaceProtocol:   0xFF
iInterface:           0x02
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"

Endpoint Descriptor:
bEndpointAddress:     0x83  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x04  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Interface Descriptor:
bInterfaceNumber:     0x02
bAlternateSetting:    0x00
bNumEndpoints:        0x02
bInterfaceClass:      0xFF
bInterfaceSubClass:   0xFF
bInterfaceProtocol:   0xFF
iInterface:           0x02
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"

Endpoint Descriptor:
bEndpointAddress:     0x85  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x06  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Interface Descriptor:
bInterfaceNumber:     0x03
bAlternateSetting:    0x00
bNumEndpoints:        0x02
bInterfaceClass:      0xFF
bInterfaceSubClass:   0xFF
bInterfaceProtocol:   0xFF
iInterface:           0x02
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"
0x0409: "Quad RS232-HS"

Endpoint Descriptor:
bEndpointAddress:     0x87  IN
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00

Endpoint Descriptor:
bEndpointAddress:     0x08  OUT
Transfer Type:        Bulk
wMaxPacketSize:     0x0200 (512)
bInterval:            0x00


Template is:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<FT_EEPROM>
  <Chip_Details>
    <Type>FT4232H</Type>
  </Chip_Details>
  <USB_Device_Descriptor>
    <VID_PID>1</VID_PID>
    <idVendor>0403</idVendor>
    <idProduct>6012</idProduct>
    <bcdUSB>USB 2.0</bcdUSB>
  </USB_Device_Descriptor>
  <USB_Config_Descriptor>
    <bmAttributes>
      <RemoteWakeupEnabled>false</RemoteWakeupEnabled>
      <SelfPowered>false</SelfPowered>
      <BusPowered>true</BusPowered>
    </bmAttributes>
    <IOpullDown>false</IOpullDown>
    <MaxPower>100</MaxPower>
  </USB_Config_Descriptor>
  <USB_String_Descriptors>
    <Manufacturer>FTDI-a</Manufacturer>
    <Product_Description>USB Serial Converter x4</Product_Description>
    <SerialNumber_Enabled>true</SerialNumber_Enabled>
    <SerialNumber />
    <SerialNumberPrefix>33</SerialNumberPrefix>
    <SerialNumber_AutoGenerate>true</SerialNumber_AutoGenerate>
  </USB_String_Descriptors>
  <Hardware_Specific>
    <TPRDRV>0</TPRDRV>
    <Port_A>
      <VCP>true</VCP>
      <D2XX>false</D2XX>
      <RI_RS485>false</RI_RS485>
    </Port_A>
    <Port_B>
      <VCP>true</VCP>
      <D2XX>false</D2XX>
      <RI_RS485>false</RI_RS485>
    </Port_B>
    <Port_C>
      <VCP>true</VCP>
      <D2XX>false</D2XX>
      <RI_RS485>false</RI_RS485>
    </Port_C>
    <Port_D>
      <VCP>true</VCP>
      <D2XX>false</D2XX>
      <RI_RS485>false</RI_RS485>
    </Port_D>
    <IO_Pins>
      <Group_A>
        <SlowSlew>false</SlowSlew>
        <Schmitt>false</Schmitt>
        <Drive>4mA</Drive>
      </Group_A>
      <Group_B>
        <SlowSlew>false</SlowSlew>
        <Schmitt>false</Schmitt>
        <Drive>4mA</Drive>
      </Group_B>
      <Group_C>
        <SlowSlew>false</SlowSlew>
        <Schmitt>false</Schmitt>
        <Drive>4mA</Drive>
      </Group_C>
      <Group_D>
        <SlowSlew>false</SlowSlew>
        <Schmitt>false</Schmitt>
        <Drive>4mA</Drive>
      </Group_D>
    </IO_Pins>
  </Hardware_Specific>
</FT_EEPROM>

lsusb:
Code: [Select]
Bus 001 Device 026: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Bus 001 Device 025: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC



Thanks for you help
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT_Prog EEPROM changes are no effective on USB
« Reply #1 on: June 19, 2020, 04:45:59 PM »

Hello,

It sounds like your external EEPROM is not being recognised.

Please email your local support team with your schematics for review:

https://www.ftdichip.com/FTContact.htm

Add an external 93C46 (93C56 or 93C66) EEPROM is recommended.

The EEPROM must be a 16 bit wide configuration such as a Microchip 93LC46B or equivalent capable of a 1Mbit/s clock rate at VCC = +3.00V to 3.6V.
If no EEPROM is connected (or the EEPROM is blank), the FT4232H will default to serial ports, which is what is shown in your post.

Please see our Development Modules for reference:

FT4232H Mini-Module
FT4232H-56 Mini-Module

We have used a 93LC56B external EEPROM.

Please check compatibility of 93LC66D. It seems to have an ORG pin to select 8 or 16 bit wide configuration.
Also from Microchip website: Status: Not Recommended for new designs.

Best Regards,
FTDI Community
Logged

Kevin Timmerman

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: FT_Prog EEPROM changes are no effective on USB
« Reply #2 on: August 13, 2020, 10:03:25 AM »

FT Prog 3.8.128.448 is broken. The settings programmed in to the chip (FT2232H in my case) are not recognized by the chip upon powerup so it always has default behavior.

The older MProg works.

Several hours wasted on this.

Code: [Select]
FT Prog
0000: 0809 0403 6010 0700 3280 0008 0000 0A9A   ....`...2.......
0008: 2AA4 12CE 0000 0000 0066 0000 0000 0000   *........f......
0010: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0018: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0028: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0038: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0040: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0048: 0000 0000 0000 0000 0000 030A 0046 0054   .............F.T
0050: 0044 0049 032A 0055 0053 0042 0020 003C   .D.I.*.U.S.B. .<
0058: 002D 003E 0020 0053 0065 0072 0069 0061   .-.>. .S.e.r.i.a
0060: 006C 0020 0063 0061 0062 006C 0065 0312   .l. .c.a.b.l.e..
0068: 0046 0054 0035 0030 0054 0055 0055 0034   .F.T.5.0.T.U.U.4
0070: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0078: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0080: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0088: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0090: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0098: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00A0: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00A8: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00B0: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00B8: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00C0: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00C8: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00D0: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00D8: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00E0: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00E8: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00F0: 0000 0000 0000 0000 0000 0000 0000 0000   ................
00F8: 0000 0000 0000 0000 0000 0000 0000 D723   ...............#


MProg
0000: 0809 0403 6010 0200 3280 0008 0000 0A9A   ....`...2.......
0008: 2AA4 12CE 0000 0000 0066 0000 0000 0000   *........f......
0010: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0018: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0020: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0028: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0030: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0038: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0040: 0000 0000 0000 0000 0000 0000 0000 0000   ................
0048: 0000 0000 0000 0000 0000 030A 0046 0054   .............F.T
0050: 0044 0049 032A 0055 0053 0042 0020 003C   .D.I.*.U.S.B. .<
0058: 002D 003E 0020 0053 0065 0072 0069 0061   .-.>. .S.e.r.i.a
0060: 006C 0020 0063 0061 0062 006C 0065 0312   .l. .c.a.b.l.e..
0068: 0046 0054 0035 0030 0054 0055 0055 0034   .F.T.5.0.T.U.U.4
0070: 0000 0001 0000 0000 0000 0000 0000 0000   ................
0078: 0000 0000 0000 0000 0000 0000 0000 9773   ...............s
0080: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
0088: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
0090: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
0098: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00A0: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00A8: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00B0: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00B8: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00C0: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00C8: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00D0: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00D8: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00E0: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00E8: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00F0: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
00F8: FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF   ................
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT_Prog EEPROM changes are no effective on USB
« Reply #3 on: August 14, 2020, 04:49:02 PM »

Hello,

Thanks for the information.

We can confirm there is a bug with FT_Prog 3.8.128.448 when using FT2232H and we have created a beta to fix this.

Please find the beta version at the following link:

https://www.ftdicommunity.com/index.php?topic=537.0

Best Regards,

FTDI Community
Logged

amolina

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: FT_Prog EEPROM changes are no effective on USB
« Reply #4 on: April 22, 2021, 05:38:42 PM »

Thanks, it works!!

But I'm a bit clumsy... https://www.ftdicommunity.com/index.php?topic=669.0
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT_Prog EEPROM changes are no effective on USB
« Reply #5 on: April 23, 2021, 04:47:37 PM »

Hello,

Please note that this beta version is now a release version on the FTDI website:

https://ftdichip.com/utilities/#ft_prog

Best Regards,
FTDI Community
Logged