Hello,
I am working on mcf5373 and I have some problem with the USB OTG in mode device.
My problem is the following. The host USB, where i m connected send me a multi-packet but i don't know how many packets I do wait.
In my source code I initialize ep_qh and dtd with 64 bytesmax,
In my interrupt, I acknoledge the Interrupt, I read the 64 octets received and i initialise the dtd to read 64 bytes.
this work for the first packet but after i have no interrput to read the following packets.
Could you help me?
Thanks
Hello,
I found my mistake. I do not initialize the ZLT bit of the associate EndPoint.
Thanks for your help.
You may be working from this already, but check section 4.7.1 of:
http://www.intel.com/technology/usb/download/ehci-r10.pdf
available from:
http://www.intel.com/technology/usb/ehcispec.htm
I don't know more than that.