USB device driver development
Translation of the original in Catalan. Read it in: CatalàCastellano
A few days ago I explained to you a little problem I had accessing the registers of a CMOS, as you already know I was able to solve the problem. Well, now I need what I did with the debugging tool that comes with the CMOS software to do it with code 'of mine', that is, I need to write code that allows me to access the Omnivision CMOS through USB. So, as always I have asked google to see what it had to say.
So I have reached a software for: Win, Solaris and Linux to develop drivers quickly for USB. It really looks like with this program I will solve the problem quickly but for the moment I haven't been able to try it. I hope to be able to do it this weekend. For now I explain a bit what it does:
WinDriver USB for Windows automates and simplifies the development of user mode Windows USB device drivers and hardware control applications for USB peripheral devices. No DDK knowledge or kernel level programming required. (For PCI support see WinDriver Windows).
Including powerful tools for hardware diagnostics, automatic driver code generation, and driver debugging, as well as intuitive hardware access API, WinDriver provides a complete solution for creating high performance drivers and custom hardware access applications, thereby enabling you to focus on your driver's added-value functionality, instead of on your operating system internals.
Some interesting things it does are:
- User mode development: you don't need to have knowledge of DDK, ETK, DDI or any other system level programming knowledge.
- It allows developing drivers for multiple platforms: binary compatibility Windows 98/Me/NT/2000/XP/XP Embedded /Server 2003, code compatibility Windows/Linux/Windows CE.NET.
- Very fast development time.
The features of the software are quite good:
- Wizard for: verifying the hardware, getting diagnostics from it, automatic code generation, debugging the driver and all through a graphical interface.
- Immediate access to the hardware: testing the hardware through a graphical interface and user mode, without direct access to the system, all this without writing a line of code.
- Code generator: the wizard is capable of generating the skeleton of the driver at code level for each device in Visual Studio, Visual Basic and Delphi.
- INF file generator: it is also capable of creating the .inf file and autoinstalling it.
- Specific support of some manufacturers: Cypress, National Semicondutor and Atmel.
- Debugging of the drivers: a real-time debuggin tool is included.
- Special support for HID devices: HID drivers can be developed without having to access the kernel through the drivers.