USB device Multipacket on mcf537x

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB device Multipacket on mcf537x

1,064 次查看
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 回复数

757 次查看
sbouvet
Contributor I

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

Thanks for your help.

 

0 项奖励
回复

757 次查看
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 项奖励
回复