Solved

REal-world interfacing the USB port with the pc

Posted on 2006-07-15
4
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 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