Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

REal-world interfacing the USB port with the pc

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
Roderick2006
Asked:
Roderick2006
1 Solution
 
AlexFMCommented:
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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now