Solved

REal-world interfacing the USB port with the pc

Posted on 2006-07-15
4
170 Views
Last Modified: 2013-11-20
I would like to create a MFC program to find the address of a USB port. I want to send logic signals to the USB port and read logic signals from the USB port, I also want to know the pin diagram of a USB port, if possible. Thanks
0
Comment
Question by:Roderick2006
4 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17113786
This is not task for MFC. USB ports can be accessed on kernel level, you need to write driver for this.
Work with USB port doesn't look like with COM or parallel port. USB device driver is written for specific device connected to USB port. User-mode program can talk with kernel-mode driver and not with USB port directly.

Additional information about USB:

http://www.lvr.com/usb.htm (mostrly for hardware and firmware developers)

http://www.osronline.com/  (for Windows drivers developers)

http://www.microsoft.com/whdc/driver/wdf/KMDF_pkg.mspx
Microsoft DDK and KMDF, contains number of USB sample device drivers.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Host to IP 7 78
Separate into files by filename 12 82
How do you programatically show and hide the Windows 10 On-Screen-Keyboard? 3 648
Tab names are off by one 5 54
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now