OpenCores
no use no use 1/1 no use no use
USB Error Handling
by Marcos325 on Dec 2, 2010
Marcos325
Posts: 3
Joined: Sep 27, 2010
Last seen: Jan 21, 2015
Hello, my name is Marcos.
I want to ask about 3 things

First, I am designing an USB Transceiver using the UTMI spec, but I can't find what to do.

1- How to handle errors during SYNC detection ?
2- How to handle errors during data bytes reception (bit stuffing errors)
3- How to handle End Of Packet outside byte boundaries.

Please help me and excuse my English, I'm still learning.

Thanks beforehand.
RE: USB Error Handling
by ravivlsiii on Dec 19, 2010
ravivlsiii
Posts: 45
Joined: Jul 4, 2008
Last seen: Feb 8, 2014
Hi Marcos,

This all is RxError. You have to give information to host/device controller about this error by interrupt so when this interrput will detected by software at that time software will ignor that received data.
Lets say if you are sending BULK IN Transaction from host controller and you received RxError then host will ignoer received data and repeate same BULK IN Transaction again until RxError status goes low.

As par UTMI Spect:-

5.8.1 Receive Error Reporting
If an error is detected by the receiver the receive state machine will enter the Error state and assert RXError. It will then transition to the Abort1 or Abort2/Terminate state, terminating the receive operation.
Any data received while RXError is asserted should be ignored. See Figure 10. The Receive State Machine will then enter the RX Wait state and start looking for a valid SYNC pattern.

Possible sources of receive errors.
� Bit stuff error has been detected during a FS receive operation
� Elasticity Buffer overrun
� Elasticity Buffer underun
� Loss of sync by the DLL
� Alignment error, EOP not on a byte boundary
� Vendor Specific errors


RxError = Bit_stff_err_FS | Sync_det_err | elastic_underflow_overflow | EOP_Byte_Bound | Vendor_Spec_Error;

if you still have doubt then email me your problems to ravilife4rohit@yahoo.com.


Best Regards:

Ravi(ravilife4rohit@yahoo.com)





Joined: Sep 27, 2010
Last seen: Dec 17, 2010
Hello, my name is Marcos.
I want to ask about 3 things

First, I am designing an USB Transceiver using the UTMI spec, but I can't find what to do.


1- How to handle errors during SYNC detection ?
2- How to handle errors during data bytes reception (bit stuffing errors)
3- How to handle End Of Packet outside byte boundaries.

Please help me and excuse my English, I'm still learning.

Thanks beforehand.

Hello, my name is Marcos.
I want to ask about 3 things

First, I am designing an USB Transceiver using the UTMI spec, but I can't find what to do.

1- How to handle errors during SYNC detection ?
2- How to handle errors during data bytes reception (bit stuffing errors)
3- How to handle End Of Packet outside byte boundaries.

Please help me and excuse my English, I'm still learning.

Thanks beforehand.
RE: USB Error Handling
by Marcos325 on Dec 20, 2010
Marcos325
Posts: 3
Joined: Sep 27, 2010
Last seen: Jan 21, 2015
Hi, thanks to Ravi for his help, it was very helpfull.

no use no use 1/1 no use no use
© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.