[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [usb] Handshake to OUT transaction



Try:
 
http://www.usb.org/developers/docs/
 
http://www.lvr.com
 
http://www.usb-by-example.com/
 
Marc Reinig
System Solutions
 
 
 
-----Original Message-----
From: owner-usb@opencores.org [mailto:owner-usb@opencores.org]On Behalf Of khalil dolatyar
Sent: Thursday, January 16, 2003 2:27 AM
To: usb@opencores.org
Subject: Re: [usb] Handshake to OUT transaction

Dear Ilja,

I am a beginer in the USB. I would like to know about the sequence of transaction in the USB port. I will appreciate you for any document or code describing the protocol of the USB port.

Best

Khalil

 Ilja_Alekssev@mail.ru wrote:

i can't understud this phenomen:

my configuration of EndPoint:
EP1 -IN Bulk MaxPacket size - 64
size of EP1 FIFO 256 byte
EP2 -OUT Bulk MaxPacket size - 64
size of EP2 FIFO 256 byte

when i write OUT in EP2 3 packet with PID sequence DATA0-1-0 core say
me with
ACK handshake. and all 3 packet (total 64*3 bytes) fit in EP2 FIFO
correctly.
after that in EP2 FIFO is 64 bytes free space.
and when i write OUT to EP2 packet with PID DATA1 (size of packet: 64
byte) core
say me NAK! But all last 64 byte (from last packet) in EP2 FIFO fit
correctly.
in write-time(EP2_WE is Hi) of last byte in Last packet EP2_Full is
Rise__/---

If i make 3 time write 64 bytes and 1 time 63 byte, core say me 4 time
ACK and
64*3+63 bytes fit in EP2 FIFO.

resume:
256 byte sucessfuly writed to EP2 FIFO but USB core say me NAK to last
transa! ction ! is this right?
--
To unsubscribe from usb mailing list please visit http://www.opencores.org/mailinglists.shtml



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now