Sebastien Bouvet

USB device Multipacket on mcf537x

Discussion created by Sebastien Bouvet on Oct 4, 2010
Latest reply on Oct 5, 2010 by Sebastien Bouvet

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

Outcomes