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

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.

Messages - FTDI Community

Pages: 1 ... 21 22 [23] 24 25 ... 60
331
Test and Review Area / LibMPSSE Beta
« on: March 04, 2021, 10:46:48 AM »
Hi Everyone,

We have a beta version of libMPSSE 1.0.2 which includes various improvements as well as a Linux 64-bit version.

This also adds support for our latest Power Delivery ICs (FT23xHP, FT223xHP, FT423xHP).

Please contact support1@ftdichip.com for this version before we release it to our website.

Let us know if you have any feedback please.

Best Regards,
FTDI Community

332
New Member Introductions / Re: Hi
« on: March 02, 2021, 10:46:26 AM »
Hello Amadeok,

Welcome to the forum!

Best Regards,
FTDI Community

333
Discussion - Hardware / Re: FT232H Module not detecting
« on: March 01, 2021, 04:42:10 PM »
Hello Asrorr,

Are you using a custom hardware design or one of the FT2232H Mini Modules?

If you are using the mini module, please ensure you have powered the device in either configuration as per Section 3 of the datasheet (see the bottom of page 7). It is important that you make all of the connections denoted for either a Self or Bus powered configuration.

Best Regards,
FTDI Community

334
Hello,

Thank you for your question.

Yes, essentially USB products can’t reliably be used in real-time applications with time interval resolution guarantees.

Sometimes the inherent behaviour of USB can be a problem and applications cannot be guaranteed throughput.
If there is more USB traffic then the OS and USB have to schedule the communication with each of the USB devices.
It’s highly dependent on the OS and USB Host and is out with our control.

This explains why on occasion you are seeing data update seeming out of order for a given microcontroller.

Switching to a D2XX implementation would certainly allow you to delay printing of a row of ASCII text in your output until all of the data has been read for the corresponding rows with FT_Read calls. For example, you could configure you program to read 1 byte from each microcontroller before allowing the data to be output by your application. This should negate any issues where the data is being printed from devices out of order. But it is still important to note that the USB host controllers scheduling algorithms do not change from using the VCP driver to the D2XX driver.

Best Regards,
FTDI Community

335
Discussion - Drivers / Re: COM port not appearing
« on: February 24, 2021, 04:19:18 PM »
Hello,

Which OS are you using?

Can you please use Microsoft USBView to check the details of the hardware that you are using?
Make sure the config descriptors option is selected (Options menu) and you may press F5 to refresh.
Now select the device that is highlighted by the exclamation mark, if applicable.
The idVendor and idProduct numbers are of interest.
Please include all the information in your reply like this:

Code: [Select]
Device Descriptor:
bcdUSB:             0x0200
bDeviceClass:         0x00
bDeviceSubClass:      0x00
bDeviceProtocol:      0x00
bMaxPacketSize0:      0x08 (8)
idVendor:           0x0403 (Future Technology Devices International Limited)
idProduct:          0x6001
bcdDevice:          0x0600
iManufacturer:        0x01
0x0409: "FTDI"
iProduct:             0x02
0x0409: "USB <-> Serial Converter"
0x0409: "USB <-> Serial Converter"
iSerialNumber:        0x03
0x0409: "FT123456"
bNumConfigurations:   0x01
.
.
.

Have you also tried pre-installing the driver on the PC with our setup executable?
Note that you can also point to the 2.12.28 drivers in Device Manager.

Also refer to the Installation Guides.

Best Regards,
FTDI Community

336
Hello,

OK Windows uses the VID, PID and Serial Number to enumerate the device, so that's why you can see that in the Device instance path property.
However note that sometimes Windows may not assign the serial number in the registry entry. It may use different nomenclature so it shouldn't be relied upon.

The Product Description can only be read using the D2XX Driver.

Your program could easily use the D2XX driver to find out the information and pass that information to continue using the VCP Driver.
You could use the following D2XX functions to find out the information that you require:

FT_CreateDeviceInfoList
FT_GetDeviceInfoList
FT_Open / FT_OpenEx
FT_GetComPortNumber
FT_Close

Best Regards,
FTDI Community

337
Hello,

The workaround that I provided relies on the D2XX driver for listing and opening the device with a custom parameter.

Using the VCP driver is limited to open by COM Port number.

The D2XX driver is used to program the device parameters like serial number and description. This is a one time task as it will be stored in the device EEPROM. It can be programmed using FT_PROG or see AN_428 D2XX EEPROM Programming Examples.

You can write some application code that uses both the D2XX and VCP driver functionality.

Best Regards,
FTDI Community

338
Hello,

The name "USB Serial Port" in Device Manager comes from the default driver INF files. See 2.12.28 driver files.

If you wanted to change the name in Device Manager that would be a complex process:

-Obtaining a PID to use with our VID
-Editing the default driver which breaks signing
-Resigning the driver which incurs costs
-Managing distribution of your driver

So this might not be the best option for you.

What you could do is use FT_PROG to change the Product Description of Serial Number.
Then you could create a simple D2XX program to open by serial number or description.
See the D2XX Programmer's Guide for more information.
Note that this Product Description name change won’t be shown in Device Manager but allows you to program a unique description which can be read through the D2XX APIs.
For example:

ftStatus = FT_OpenEx("Mike's 3 MBaud cable",FT_OPEN_BY_DESCRIPTION,&ftHandle);

Note that there is a limit of the number of characters used in the serial number, description, etc.
See section 4 EEPROM Programming Interface Functions in the D2XX Programmer's Guide.

TN_153 Instructions on Including the D2XX Driver in a Visual Studio Express 2013 Project should help you to get started with D2XX API usage.

You can also check out our C# examples here:

https://ftdichip.com/software-examples/code-examples/csharp-examples/

Best Regards,
FTDI Community

339
Discussion - Drivers / Re: FT601Q Linux FT_ReadPipe unexpected behavior
« on: February 19, 2021, 04:17:15 PM »
Hello,

At USB level, the transfers are at 1024 bytes (USB3.0 – SuperSpeed) and after 4 such messages the FIFO will be full, and the USB host controller will be holding rest of the data until the FIFO is free again.
Please refer to USB Bulk transfer protocol to understand how this works in more detail.

Please try 1K aligned data in your transfer model.

If you take a look at the demo application provided with the D3xx Linux driver, it should help you.
It's contained within the driver download.

Best Regards,
FTDI Community

340
Discussion - Software / Re: libftd2xx.a for Apple Silicon
« on: February 18, 2021, 03:39:28 PM »
Hello,

Thank you for your post.
Currently we do not have an ARM build available for the macOS D2XX driver (glad to hear however you can use the x86 version with Rosetta). The driver team are concentrating on recompiling the VCP driver for macOS 11 and the M1 ARM macs at this moment, but there is an active bug related to compiling the .dylib and .a files for ARM. Once these have been produced I will let you know.

Best Regards,
FTDI Community

341
Discussion - Hardware / Re: FT4232H not enumerating
« on: February 17, 2021, 04:54:51 PM »
Hello,

Great glad you got it working.

This will help other FTDI Community users with similar issues.

Ensure that you have 10 ohm resistors on the USB data lines (not 27 ohm) as well.

Best Regards,
FTDI Community

342
Discussion - Drivers / Re: FT601Q Linux FT_ReadPipe unexpected behavior
« on: February 16, 2021, 04:39:04 PM »
Hello,

It seems that you are having issues with the Linux D3xx driver and Windows D3xx driver is OK?

Please check that you are using the latest driver versions:

https://ftdichip.com/drivers/d3xx-drivers/

Please see the following information on Transfer efficiency in D3XX Linux Library:

The D3xx for Linux library allocates a reading queue with 256 of 32Kbytes buffers internally by default at startup, it will keep requesting to the host driver until there is no free buffer in the queue, and  the library will not combine returned buffer in the queue.

  • When fStopReadingOnURBUnderrun flag is set, the FT_ReadPipe / FT_ReadPipeEx API will return immediately when encountering any buffer with length less then 32Kbytes, even if there are more filled buffers in the queue.
  • When fStopReadingOnURBUnderrun is not set, the FT_ReadPipe / FT_ReadPipeEx API will try to satisfy the requested reading size by merging all available filled buffers in the queue, buffer size is ignored.

Transfer efficiency is not determined by the reading size in D3XX for Linux, our tests showing that best performance can be achieved as long as the reading size is >= 3bytes each time.

Non 1K aligned data will cause additional process time on FIFO bus, FT600 bridge chip and USB3 bus, the overhead could cause FPGA master's FIFO buffer overflow, and wrong data will be collected.

Best performance can be achieved when FPGA is sending 1K aligned data as much as possible. If its not feasible to change FPGA's behaviour, try setting: CONFIGURATION_OPTIONAL_FEATURE_DISABLEUNDERRUN_INCHALL flag in chip configuration to remove the latency on USB3 bus.

Also try to avoid doing any heavy processing or calls to printf() from the thread which calls FT_ReadPipe(), otherwise the library's reading queue may be used up. You can use another thread to parse, or simply dump all the content into another file to verify the issue.

Best Regards,
FTDI Community

343
Discussion - Software / Re: SCALE() command for FT81x
« on: February 16, 2021, 11:10:00 AM »
Hi,

You can add the same factor to the BITMAP_SIZE and BITMAP_SIZE_H and this should help. Please see below (you can use a variable 'scale' instead to save changing several values if you decide to change the scale)

Code: [Select]
int16_t imgWidth = 160;
int16_t imgHeight = 120;

App_WrCoCmd_Buffer(phost,COLOR_RGB(255,255,255));
App_WrCoCmd_Buffer(phost,BITMAP_SOURCE(0));
App_WrCoCmd_Buffer(phost,BITMAP_LAYOUT(RGB565,imgWidth*2,imgHeight));
App_WrCoCmd_Buffer(phost,BITMAP_LAYOUT_H((imgWidth*2)>>10,imgHeight>>9));
App_WrCoCmd_Buffer(phost,BITMAP_SIZE(NEAREST,BORDER,BORDER,(imgWidth  *4),(imgHeight  *4));
App_WrCoCmd_Buffer(phost,BITMAP_SIZE_H((imgWidth   *4)  >>9,(imgHeight   *4) >>9));

App_WrCoCmd_Buffer(phost,BEGIN(BITMAPS)); // start drawing bitmaps

Gpu_CoCmd_LoadIdentity(phost);
Gpu_CoCmd_Scale(phost,4*65536, 4*65536);
Gpu_CoCmd_SetMatrix(phost);

App_WrCoCmd_Buffer(phost,VERTEX2F(0,0));
App_WrCoCmd_Buffer(phost, END());

Best Regards, FTDI Community


344
Discussion - Hardware / Re: FT4232H not enumerating
« on: February 12, 2021, 04:53:36 PM »
Hello,

Can you please email your local support team which will allow you to attach your files?

https://ftdichip.com/technical-support/

It looks like you have used the wrong resistor/capacitor values on the USB data lines for edge rate control.
Please refer to AN_146 USB Hardware Design Guidelines for FTDI ICs.

You can also refer to our Development modules for reference which include schematics:

FT4232H Mini-Module
FT4232H-56 Mini-Module

Best Regards,
FTDI Community

345
Hello,

Thank you for the update, I'm glad you managed to resolve the issue.
Please let us know if you run into any more issues.

Best Regards,
FTDI Community

Pages: 1 ... 21 22 [23] 24 25 ... 60