This chapter describes WinDriver DriverWizard's hardware diagnostics and driver code generation capabilities.
![]() | |
| CardBus devices are handled via WinDriver's PCI API; therefore PCI references in this chapter apply also to CardBus, on the operating systems on which it is supported [1.1]. |
DriverWizard (included in the WinDriver toolkit) is a GUI-based diagnostics and driver generation tool that allows you to write to and read from the hardware, before writing a single line of code. The hardware is diagnosed through a Graphical User Interface – memory ranges can be read, registers can be toggled and interrupts can be checked.
Once the device is operating to your satisfaction, DriverWizard creates the skeletal driver source code, with functions to access your hardware's resources.
If you are developing a driver for a device that is based on one of the enhanced-support PCI chipsets (PLX 6466, 9030, 9050, 9052, 9054, 9056, 9080 and 9656; Altera pci_dev_kit; Xilinx VirtexII and Virtex 5; AMCC S5933), we recommend that you read Chapter 7, which explains WinDriver's enhanced support for specific chipsets, before starting your driver development.
DriverWizard can be used to diagnose your hardware and can generate an INF file for your hardware on Windows.
Avoid using DriverWizard to generate code for a device based on one of the supported PCI chipsets [7], as DriverWizard generates generic code which will have to be modified according to the specific functionality of the device in question. Preferably, use the complete source code libraries and sample applications (supplied in the package) tailored to the various PCI chipsets.
DriverWizard is an excellent tool for two major phases in your HW/Driver development:
The code generated by DriverWizard is composed of the following elements: