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: What says FT_DEVICE_LIST_INFO_NODE type?  (Read 14613 times)

radimoid

  • Newbie
  • *
  • Posts: 3
    • View Profile
What says FT_DEVICE_LIST_INFO_NODE type?
« on: November 30, 2020, 09:57:14 AM »

Hello,
in my app, I would like to recognize the FTDI chip type (FT232H vs FT245R). Can this be done by checking FT_DEVICE_LIST_INFO_NODE type? I didn't find any documentation to this struct member. I have just recognized that FT232H has set its value to 0x08 and FT245R to 0x05. Is this general rule? Is there any documentation of type codes?

I know that the type could be also recognized from eeprom product id. But this can be reflashed to any value (as it happened to me once).
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 896
    • View Profile
Re: What says FT_DEVICE_LIST_INFO_NODE type?
« Reply #1 on: December 01, 2020, 04:39:25 PM »

Hello,

Yes that is correct. Please refer to the D2XX Programmer's Guide:

FT_DEVICE (DWORD)
FT_DEVICE_232BM = 0
FT_DEVICE_232AM = 1
FT_DEVICE_100AX = 2
FT_DEVICE_UNKNOWN = 3
FT_DEVICE_2232C = 4
FT_DEVICE_232R = 5 (also includes FT245R)
FT_DEVICE_2232H = 6
FT_DEVICE_4232H = 7
FT_DEVICE_232H = 8
FT_DEVICE_X_SERIES = 9

Best Regards,
FTDI Community
Logged

radimoid

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: What says FT_DEVICE_LIST_INFO_NODE type?
« Reply #2 on: December 16, 2020, 08:52:14 AM »

Thank you for the reply. One more question. Is there any way how to distinguish 232R from FT245R. FT_PROG application can distinguish between them. But I'm curious how can this be done from my app.
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 896
    • View Profile
Re: What says FT_DEVICE_LIST_INFO_NODE type?
« Reply #3 on: December 16, 2020, 04:38:59 PM »

Hello,

This information is proprietary to FTDI.

You can read the product description to determine the product type.
The default product descriptions can be found below:

FT232R USB UART
FT245R USB FIFO

The other option you have is to program a unique serial number or description to help you distinguish between the two device types.

Best Regards,
FTDI Community
Logged

radimoid

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: What says FT_DEVICE_LIST_INFO_NODE type?
« Reply #4 on: December 17, 2020, 05:00:17 AM »

Ok. Thank you for info.
Logged