OS crashes when attempting XferData with over 20 million bytes | Cypress Semiconductor
OS crashes when attempting XferData with over 20 million bytes
My program is using the CyAPI to transfer data from a device using the FX3. When it attempts a transfer of over roughly 20 million bytes the entire PC crashes. I was able to compile the source code for CyAPI into my Qt C++ project and by step debugging found the crash to happen on a call to DeviceIoControl. I've attached a WinDbg analysis of the crash dump. It seems to be related to the driver, but I'm not sure. Please help me understand the issue and find a fix if possible. My program needs to transfer upwards of 42MB in one call to XferData.