Topic: How to develop a device driver for my hardware?

For my project I need to interface my own hardware with a pc. This requires me to install that hardware right? How to code the device drivers for it?
I am an electrical and electronics student. So please tell me where I can find anyone to help me code the device drivers? (In chennai, preferrably)

Re: How to develop a device driver for my hardware?

Some hardware vendors have an SDK (software development kit) that contains the tools and documentation to make the correct software hooks and calls to interface with the hardware.  But most are closed to driver development as these are closely guarded secrets. 
If you're building your own hardware, then you are the best one to know how it works and what to do with it.
I'm guessing this is for a school project, so by answering your questions, we would be cheating you from a valuable learning experience. wink

Re: How to develop a device driver for my hardware?

mr_smartepants wrote:

Some hardware vendors have an SDK (software development kit) that contains the tools and documentation to make the correct software hooks and calls to interface with the hardware.  But most are closed to driver development as these are closely guarded secrets. 
If you're building your own hardware, then you are the best one to know how it works and what to do with it.
I'm guessing this is for a school project, so by answering your questions, we would be cheating you from a valuable learning experience. wink

really?
I will try with this code. Hope it will run.

Never be too sure of yourself. So far, you have been very successful in your business. But who knows how the stock market is going to turn out. There is many a slip between cup and lip.

Re: How to develop a device driver for my hardware?

I had problem while installing the driver and message is pop out that  buffer errors in the system,does any one know how could i sort out this?

Spam link removed by moderator

Re: How to develop a device driver for my hardware?

thanks u may also can post on SPAM

Re: How to develop a device driver for my hardware?

How about the Windows Driver Kit?   https://secure.wikimedia.org/wikipedia/ … Driver_Kit
If you are still using XP, there's the Driver Development Kit.   http://www.osronline.com/ddkx/ddk2.htm
Need more for Win2000?   http://forums.techarena.in/software-dev … t/2834.htm
There's also the Win98 DDK.   http://www.msfn.org/board/topic/101180-windows-98-ddk/

Here's a brief primer.   http://www.tenouk.com/windowsddk/window … entkit.pdf
MSDN is also a great resource.   http://msdn.microsoft.com/en-us/windows … e/gg487463


FTDI has some wonderful interfaces for USB.   http://www.ftdichip.com/FTProducts.htm
I like the fact that their drivers support Virtual COM ports.  http://www.ftdichip.com/Drivers/VCP.htm
Their cables & modules are legendary (& low cost - no, i'm not affiliated, nor a salesman).  Some allow direct accessing to TTL-level signals!

Oh, yah!  What would I do without my 17-channel LPT logic analyzer?  http://www.codeproject.com/KB/system/17 … lyzer.aspx
It doesn't have the greatest bandwidth, yet it is also a serial protocol analyzer, supporting:

I2C Bus, SMBus, ModBus
    PS/2 Bus
    SPI Bus
    Asynchronous (RS232, RS422, RS485)
    Infrared Remote Controls
    Smartcards

MUST read:  http://www.codeproject.com/KB/system/#Device+Drivers  cool

My hope is that someone will help ME learn more about HW interfacing & device driver programming.

Last edited by TechDud (2011-04-02 03:47:24)