next up previous contents
Next: 1.9 What Does the Up: 1. WinDriver Overview Previous: 1.7 Limitations of the   Contents

Subsections


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.

****************************************************************************************
  NOTE
  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 eMbedded Visual C++ to meet your specific needs. If you are using Platform Builder, activate it and insert the generated *.pbp into your workspace.
  5. Test and debug your code and hardware from the CE emulation running on the host machine.