cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

rocac_3139131
New Contributor

Dear community,

I have a CY7C65215 chip in my board, Windows 7 and official cypress driver.

I have a "IRP_MJ_DEVICE_CONTROL" invalid call when I use LeadingTouch driver associated to the Cypress COM port, while all works correctly with other native or virtual com (for example with FTDI chip).

Please could someone give me support?

Thank you.

0 Likes
1 Solution
Anonymous
Not applicable
  • The IRP_MJ_READ may fail in case the timeout set by the COM port driver is less. This is a valid setting since this timeout can be overridden by the driver or the application using the COM port. Below are the APIs that can be used in the host application or in the driver respectively.

Driver API: IOCTL_SERIAL_SET_TIMEOUTS

https://msdn.microsoft.com/en-us/library/windows/hardware/ff546772(v=vs.85).aspx

App API: SetCommTimeouts

https://msdn.microsoft.com/en-us/library/windows/desktop/aa363437(v=vs.85).aspx

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable
  • The IRP_MJ_READ may fail in case the timeout set by the COM port driver is less. This is a valid setting since this timeout can be overridden by the driver or the application using the COM port. Below are the APIs that can be used in the host application or in the driver respectively.

Driver API: IOCTL_SERIAL_SET_TIMEOUTS

https://msdn.microsoft.com/en-us/library/windows/hardware/ff546772(v=vs.85).aspx

App API: SetCommTimeouts

https://msdn.microsoft.com/en-us/library/windows/desktop/aa363437(v=vs.85).aspx

View solution in original post

0 Likes