Not able to send data from USB Isochronous IN endpoint to host



Hi
I am using Atmel's AT91SAM7S64 microcontroller which
includes a USB device port. We have written the firmware for this
controller to send a packet of data through USB Endpoint 1. We have made
this endpoint as Isochronous In endpiont. Now our problem is we are
writing the packet in the Fifo data register of the USB endpoint 1 and
then we are also setting the TXPKTRDY flag as 1 as well(This is required
by the controller to make it know that the packet is ready to be sent). But
when we send an IN token from the host to receive the data we do not get
any data at the host. we have checked through the debugger(IAR EWARM) that
when we send an IN token from the host the TXPKTRDY flag gets reset to 0
again. Does this mean that the data in the buffer of the endpoint has been
sent to the host? One more important thing at the time of debugging the
firmware when we write any data into the FIFO data register of desired
endpoint by the firmware and when we watch for the current value of that
FIFo data register inside the Watch window we do not see the correct data
which has been written by us. Also the value of FDR gets changed anytime
even though it is not being written. We dont know whether this behaviour
is ok or not? Anybody having experience with this Please help.
Thanks
Faiyaz Pisuwala

.



Relevant Pages

  • Re: Bug in OHCI2 driver for Windows CE 5.0?
    ... CE's USB stack is not derived from any of the desktop Windows stacks; ... A short packet (i.e., a packet smaller ... I'm in a middle of porting USB device-driver from Windows NT/2k/XP... ... A low-speed device (Contains couple of firmware versions) ...
    (microsoft.public.windowsce.platbuilder)
  • Cypress EZ-USB FX Firmware Download
    ... I am designing a new USB device that contains the Cypress EZ-USB FX ... as soon as I select the .hex file to download firmware ... by the host with a SETUP Packet which is ...
    (comp.arch.embedded)
  • Breezy + USB TvTuner (Compro VideoMate U900/U880); Cannot find /dev/video0
    ... I just bought a USB tvtuner Compro VideoMate U900/U880, but I don't really know where the problem is but these are the things I did. ... Maximum Default Endpoint Size: 64 ... Interface Number: 0 ... Max Packet Size: 0 ...
    (Ubuntu)
  • Re: Can a pipe be bigger than 64 byte?
    ... For high speed device bulk pipe, the only max packet size allowed is 512 ... And My question was not towards USB spec but relative to Microsoft driver ... bMaxPacketSize0 is the maximum packet size of endpoint 0. ...
    (microsoft.public.development.device.drivers)
  • Re: Not able to send data from USB Isochronous IN endpoint to host
    ... We have written the firmware for this ... controller to send a packet of data through USB Endpoint 1. ...
    (comp.arch.embedded)