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/
It's been a while for me. I did some driver development back in 2010 and 2011, but the 32 bit ISA driver I wrote back in 2010 has been doing the job adequately and the USB project got pushed to the back burner and was never completed. Now customers are getting to a point where their IT departments are requiring them to update to at least Win 10 x64, so I'm back looking at the drivers.
This is a two part question. I've been trying to get up to speed with VS 2019 and the new WDK, but I've hit some problems, but if the answer to the first question is no, we're going to need a different approach.
As I mentioned, the interface hardware currently in use is an 8 bit ISA card. The system this interfaces with was original introduced in the 1980s and it still does the job. The company I work for has been slowly updating the hardware in the system to use newer components, but the interface has been unchanged for over 30 years. They can still get industrial motherboards with ISA slots, so they keep going with ISA.
There have been three attempts by three different people to make a USB replacement and I got the furthest. A direct translation of the ISA commands to USB is glacially slow because of the nature of the ISA command pattern and USB's scheduled nature. I worked around it, but still had some problems I didn't solve before getting pulled off to do something else.
Anyway, Question #1 - Does Windows 10 x64 still support ISA? I think it does, but we haven't been able to find any examples, even in industrial computing applications.
If true, I've run into some issues getting set up to compile the driver again. I'm just trying to get going with the tools that support Win 10. I have Visual Studio Professional 2019 Version 16.11.9 installed and I installed the 2004 version of the WDK for Win 10. There was an error message for VSIXInstaller at the end, but according to my searches, it appears that only supports an old version of Visual Studio and doesn't support VS 2019.
I found the Getting Started document on OSR's site
"Visual Studio and the WDK together provide everything you need to create driver projects, and to compile, link, and even debug Windows drivers. After you’ve successfully installed Visual Studio and the WDK, you can very easily build a simple driver demo project. You don’t even need any hardware! Just select “New Project” and within Visual C++ select the Windows Driver project category. Within this category select Kernel Mode Driver (KMDF). Click OK and Visual Studio will generate a simple starter or demo driver project for you that doesn’t require any specific hardware. This driver will successfully build, and can even be installed on a test machine. Yup, it really is that simple."
I selected New->Project, but there is no Windows Driver category, or anything that has anything to do with drivers available. My guess is either something from the WDK installer didn't work right or Microsoft went and changed things since document was written and it takes some other magical incantation to get a new driver project now.
What am I doing wrong?
Thanks in advance...
|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!|
|Kernel Debugging||13-17 May 2024||Live, Online|
|Developing Minifilters||1-5 Apr 2024||Live, Online|
|Internals & Software Drivers||11-15 Mar 2024||Live, Online|
|Writing WDF Drivers||26 Feb - 1 Mar 2024||Live, Online|