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.
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.
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.