1.8  How Do I Develop My Driver with WinDriver?

1.8.1  On Windows and Linux

  1. Start DriverWizard and use it to diagnose your hardware – see details in Chapter 5.
  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 [8] 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.
The code generated by DriverWizard is a diagnostics program that contains functions that perform data transfers on the device's pipes, send requests to the control pipe, change the active alternate setting, reset pipes, and more.

1.8.2  On Windows CE

  1. Plug your hardware into a Windows host machine.
  2. Diagnose your hardware using DriverWizard.
  3. Let DriverWizard generate your driver's skeletal code.
  4. Modify this code, using MS eMbedded Visual C++, to meet your specific needs. If you are using MS Platform Builder, activate it and insert the generated *.pbp into your workspace.
  5. Test your driver on the target embedded Windows CE platorm.