Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Suggestion about writing windows driver

Status
Not open for further replies.

Mehdi1357

Member level 2
Member level 2
Joined
Jan 18, 2008
Messages
50
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
the Earth
Activity points
1,691
I have a little experience in C and C++ programming and I have designed a circuit that needed to have communication with PC(based on USB port) but I don't understand how can I link that to an Application program ( was writen by VC++)in my PC.
please tell me:

1-what are things I need to know to become an expert in writing hardware (such as USB or PCI bus) drivers especially for Windows OS?

2-at least what kind of things I need to learn to communicate with external hardware (such as USB device)?

3-I am downloading the WDK7.1.0 (Windows Driver Kit) , is that enough to do what I need.?

4-what Books or documents are usefull for me to increase my knowledge about that?
thanks a lot.
 

There is one simple solution. Get one of those usb to serial converters. Usualy they have https://www.ftdichip.com/ component. This way you can keep pc code simple.

I have some c code to show if this will do for you.
 

AlexBaraba said:
There is one simple solution. Get one of those usb to serial converters. Usualy they have https://www.ftdichip.com/ component. This way you can keep pc code simple.

I have some c code to show if this will do for you.

Thanks
I am not looking for easy ways. I want to became an expert on writing windows driver and communication with that through an application program.
But I don't know where I should start and what resources are necessary to do that.
 

Getting started with USB is a good point to get started with windows drivers. You can use WinUSB library provided with windows (starting Vista, you need to install it from WDK yourself if you are using XP).

Also if you go to MSDN and search for any technology you'll usually find a titled as RoadMap e.g. for USB it would be "Roadmap for Developing USB Drivers" (https://msdn.microsoft.com/en-us/library/ee621942.aspx). This lists how you can start your learning in an organized way. Then there are design guides, references, samples etc.

The link to WinUSB is https://msdn.microsoft.com/en-us/library/aa476426.aspx.

Once you are able to use WinUSB, you can move onto using WDF for UMDF and KMDF.
 
microKernel said:
Getting started with USB is a good point to get started with windows drivers. You can use WinUSB library provided with windows (starting Vista, you need to install it from WDK yourself if you are using XP).
The link to WinUSB is https://msdn.microsoft.com/en-us/library/aa476426.aspx.
Once you are able to use WinUSB, you can move onto using WDF for UMDF and KMDF.

it was very useful.I will try to study these resources.
Thanks a lot
 

Hi Mehdi1357,

Check out NuMega Driver Studio. The latest version should cover USB interfacing.

SlideRule
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top