1.9. How Do I Develop My Driver with WinDriver?

1.9.1. On Windows and Linux

  1. Start DriverWizard and use it to diagnose your hardware — see details in Chapter 4.
  2. Let DriverWizard generate skeletal code for your driver, or use one of the WinDriver samples as the basis for your driver application (see Chapter 7 for details regarding WinDriver's enhanced support for specific chipsets).
  3. Modify the generated/sample code to suit your application's needs.
  4. Run and debug your driver in the user mode.
  5. If your code contains performance-critical sections, refer to Chapter 10 for suggestions on how to improve your driver's performance.
[Note]
The code generated by DriverWizard is a diagnostics program that contains functions that read and write to any resource detected or defined (including custom-defined registers), enables your card's interrupts, listens to them, and more.