cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

We are using the Fx3 with CyUsb3.sys for a new product debvelopment, so far so good.

The driver file CyUsb3.sys carries the version 1.2.3.10.

When retrieving the driver version via CyApi GetDriverVer (this in turn does a IOCTL_ADAPT_GET_DRIVER_VERSION)

we get the version code 0x01020200.

Can someone explain how these two version numbers relate and what they mean in typical version code terms such as Major/Minor/Buld..?

The documantation an the Web do not provide answers.

Thanks,

Michael Wahl

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator

Hello Michael Wahl,

The CyAPI GetDriverVer() has been deprecated and is no longer been updated. Kindly, use the attached code/application to obtain the driver version. This code uses the Win APIs to obtain the details of the driver. Also, note that, when multiple devices are bound to the CYUSB3 driver, only the first instance is considered by this application. The GetDriverVersion() function parameters have to be modified to suit the VID/PID of the device being connected.

Best regards,

Srinath S

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hi Michael,

The driver version is of the format:

*ulDriverVersion = (ULONG)(CYUSB3_VERSION_MAJOR<<24 |(CYUSB3_VERSION_MINOR<<16) |(CYUSB3_VERSION_PATCH<<8) |(CYUSB3_VERSION_BUILD));

But as per your observation, these seem to be different. We will investigate further.

Regards,

- Madhu Sudhan

0 Likes
SrinathS_16
Moderator
Moderator

Hello Michael Wahl,

The CyAPI GetDriverVer() has been deprecated and is no longer been updated. Kindly, use the attached code/application to obtain the driver version. This code uses the Win APIs to obtain the details of the driver. Also, note that, when multiple devices are bound to the CYUSB3 driver, only the first instance is considered by this application. The GetDriverVersion() function parameters have to be modified to suit the VID/PID of the device being connected.

Best regards,

Srinath S

View solution in original post

0 Likes