USB device Multipacket on mcf537x

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB device Multipacket on mcf537x

1,062件の閲覧回数
sbouvet
Contributor I

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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

755件の閲覧回数
sbouvet
Contributor I

Hello,
I found my mistake. I do not initialize the ZLT bit of the associate EndPoint.

Thanks for your help.

 

0 件の賞賛
返信

755件の閲覧回数
TomE
Specialist II

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.

 

 

0 件の賞賛
返信