The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
O.S: windows 10 IOT LTSC
My FPGA is creating an MSI interrupt every 20msec.
The application is sending an IOCTL request to the driver.
In the driver, this request is forwarded to internal queue (WdfRequestForwardToIoQueue)
Upon interrupt, interrupt handler DPC pulls the request from the internal queue and calls to : WdfRequestCompleteWithInformation to answer the IOCTL in the application.
This answer contains an interrupt counter.
The above mechanism works OK for some time (e.g 30 minutes).
and then I'm getting in the application an interrupt miss error. The application missed an interrupt (according to the counter).
There are 2 other processes that work with this driver at the same time.
Each of them also waits for an interrupt. But each application (out of 3) waits for a different interrupt.
Can this cause the problem ?
Is there an alternative to the above mechanism so there will be no interrupt miss ?
|Upcoming OSR Seminars|
|OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!|
|Writing WDF Drivers||7 Dec 2020||LIVE ONLINE|
|Internals & Software Drivers||25 Jan 2021||LIVE ONLINE|
|Developing Minifilters||8 March 2021||LIVE ONLINE|