- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 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