Re: developing Application software for a host to communicate with a USB device



Dear members,
I am developing an Application software in VC++ for a host
CPU to communicate with a device on USB. I have seen use of Createfile,
Writefile, & Readfile functions to communicate with the USB peripheral.
My
question is How do we send IN or OUT token packets or SOF packets through
software? OR Is it automatically done when we use Readfile or Writefile
functions and do we just need to take care about the data only?

If we need to send the token packets by the software then how is it done?

Also how to access different endpoints of device by the host?

Please Describe.

Thanks in advance
Faiyaz
.



Relevant Pages

  • Re: USB Function application testing
    ... my function side application to communicate with Windows host? ... But now I want to write function side application and want it communicate ... a real USB mass storage device sitting in a USB port. ... chip and a USB device chip. ...
    (microsoft.public.development.device.drivers)
  • developing Application software for a host to communicate with a USB device
    ... Writefile, & Readfile functions to communicate with the USB peripheral. ... If we need to send the token packets by the software then how is it done? ...
    (comp.arch.embedded)
  • Re: USB Function application testing
    ... quite good to test any host application. ... But now I want to write function side application and want it communicate ... a real USB mass storage device sitting in a USB port. ...
    (microsoft.public.development.device.drivers)
  • Re: USB Function application testing
    ... I do not think the commodity USB controller hardware supports function-side ... quite good to test any host application. ... But now I want to write function side application and want it communicate ... How can libusb help me in this case? ...
    (microsoft.public.development.device.drivers)
  • ieee1394 and fbdev oops in 2.6.3rc2
    ... Found UniNorth PCI host bridge at 0xf0000000. ... Firmware bus number: 0->0 ... PMU driver 2 initialized for Core99, ... ohci_hcd 0001:02:08.0: new USB bus registered, ...
    (Linux-Kernel)