I had modified the sample function driver available with the Open Source SD Subsystem and added an IOCTL for CMD52 on Function 1. Written an application through which I was writing a large data to function 1 using this IOCTL in a for loop. But I observed that even though the application could fire all ioctl and its return value was 0, the driver didn't receive all the IOCTL. Why? Where the missing IOCTL had been lost? To avoid this what should be done in driver? When the application open the device for operation it didn't specify the NONBLOCK flag.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had modified the sample function driver available with the Open Source SD Subsystem and added an IOCTL for CMD52 on Function 1. Written an application through which I was writing a large data to function 1 using this IOCTL in a for loop. But I observed that even though the application could fire all ioctl and its return value was 0, the driver didn't receive all the IOCTL. Why? Where the missing IOCTL had been lost? To avoid this what should be done in driver? When the application open the device for operation it didn't specify the NONBLOCK flag.
Do you know if the function driver was actually enumerated for your device?
Regards
Paul