configure usb using visual C++

eho_tzc
eho_tzc used Ask the Experts™
on
I am doing a project on data acquisition using usb technology. I am interfacing pc with a pic16c765 microcontroller using usb port. I am facing problem in configuring the usb device using visual c++. I am facing problem with the descriptor. can any body help me? thanks. Do anybody has a sample program that can makes a usb device work? or is there anybody who can help me in my project? any help will do. thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
I would thoroughly recommend WinDriver from www.jungo.com.  I've used it extensively to create a drivers for PCI cards and it's truly impressive!  It can handle USB too.  You can write all you code at the user level and their driver handles the rest.  It took me no more than 3 days to start communication from my own MFC app with my first PCI card!  There's even a GUI which can talk to any USB device immediately.

You can even port your code to kernel mode if you need very fast interrupt handling without learning the whole DDK (not sure if that's the case with USB though) - it's excellent.

Author

Commented:
Thank you. I had downloaded the win driver. but there are still a problem. The win driver is just a 30 days demo....
And it cost $800 to buy it! Do you know where can i get a free version of it? thank you.

Commented:
If it is for commercial use, purchase it - $800 is a minor outlay compared with the benifits it will provide.

OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Commented:
If you are a student then I'm sure it could be found with Google ;-)

Author

Commented:
I got a question.....
1. Do i need to connect my hardware to pc before using this win driver?
2. do i need to program my pic microcontroller first before i use this win driver to generate the code?

Commented:
hi there.
actually, you can just use a HID (human interface device) to create a class for your usb. I am sure the PIC website provide the source code you needed.
www.microchip.com

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial