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: FT4222H linux driver's bug  (Read 320 times)

jimmy.bai

  • Newbie
  • *
  • Posts: 1
    • View Profile
FT4222H linux driver's bug
« on: July 06, 2021, 02:51:58 AM »

Hi,
       I am using FT4222H linux driver on my module and I find sometime the FT4222 driver will run into DEAD status in linux setup, even for get-version.c example code. The reproducing step is as follows:

1.     Connect the module which carries FT4222H chip with PC.
2.     Download libft4222-linux-1.4.4.44.tgz from  www.ftdichip.com
3.     Put the zip file into ubuntu 18.04 and unzip it, the ubuntu run in virtual box 6.1.
3.     run "sudo ./install4222.sh"
4.     run "cc get-version.c -lft4222 -Wl,-rpath,/usr/local/lib"
5.     run "sudo ./a.out" and the output result is :
        Device 0: ‘FT4222 A’
        Chip version: 0x42220400, FT4222 version: 0x0104042C
Of course, the output result is OK. But, if we run “sudo ./a.out” continuously for several times, the code will run into dead status(the terminal has no any output and can't type an key), as shown below,(General we meet this condition after running 4-5 times, sometimes running 7~8 times.)

I also try the windows example code for FT4222 driver in window setup(which is visual studio code), it works fine and no issue occurs.
 
Do you know how to resolve this issue? Thanks.


« Last Edit: July 06, 2021, 02:58:29 AM by jimmy.bai »
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 645
    • View Profile
Re: FT4222H linux driver's bug
« Reply #1 on: July 06, 2021, 03:05:51 PM »

Hello,

Thank you for your question, I will look into reproducing this behaviour.

Could you just clarify what hardware configuration for the FT4222 you are using? is it the UMFT4222EV-D?


Best Regards,
FTDI Community
Logged