FTDI Community

General Category => Discussion - Drivers => Topic started by: Arsen on November 23, 2023, 05:32:01 AM

Title: How to use the FTDI device from kernel mode
Post by: Arsen on November 23, 2023, 05:32:01 AM
Hello everybody. I'm new to the FTDI community.
We have a controller that communicates with the computer via FTDI. We use the D2XX interface functions from the user mode program to communicate with the FTDI driver (device). Now I want to use the FTDI device from kernel mode (Windows), but we don't have any documentation related to the FTDI driver. Please tell me where to find or buy it. Thank you.
Title: Re: How to use the FTDI device from kernel mode
Post by: FTDI Community on November 23, 2023, 04:50:53 PM
Hello,

Unfortunately the FTDI driver source is confidential so there is no documentation on it apart from the D2XX Programmer’s Guide (https://ftdichip.com/wp-content/uploads/2023/09/D2XX_Programmers_Guide.pdf).

If you wanted to write your own kernel based driver then we could provide an NDA to give you access to the API for FTxxxx Devices.

The USB Host Controller would need to implement FTDI drivers. This is not an easy task.

Please note that we can only provide a table of the USB transfers under NDA (API for FTxxxx Devices) and unfortunately we cannot provide source code samples or support for writing drivers on a particular OS.

Is a table of USB requirement sufficient for your needs?
It requires previous hands on writing USB driver experience for your particular MCU/OS and requires extensive USB knowledge.
It's a difficult task and we don’t provide support for it.

Please contact (https://ftdichip.com/technical-support/) your local support team for the NDA form.

The other route you may want to explore is LibFTDI which is an open source library/driver but is not created/supported by FTDI:

https://www.intra2net.com/en/developer/libftdi/

This third party solution already includes the source so may suit you if you as the driver source is also supplied and may give you more options.

Best Regards,
FTDI Community
Title: Re: How to use the FTDI device from kernel mode
Post by: Arsen on November 24, 2023, 08:06:01 AM
Thank you, Mister. We will make a decision and I will write to you. Moreover, we are going to change FTDI 200 to FTDI 600. But this, I think, does not make the problem go away
Title: Re: How to use the FTDI device from kernel mode
Post by: Arsen on November 27, 2023, 08:33:28 AM
And the second question, please. Can we implement a compound USB device using FTDI 600 and Dx200 or Dx300? One function will be regular file memory (like regular flash memory), and the second will be information conversion. We have implemented the second part. I'm interested in the first function. Can your device (ftdi) simulate regular flash memory. Thank you.
Title: Re: How to use the FTDI device from kernel mode
Post by: FTDI Community on November 27, 2023, 04:35:41 PM
Hello,

Our devices can't simulate regular flash memory.

Best Regards,
FTDI Community
Title: Re: How to use the FTDI device from kernel mode
Post by: Arsen on November 28, 2023, 01:26:05 PM
Thank You very much