About the CYUSB3014 Errata8

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
masa_xyz
Level 1
Level 1
First solution authored First reply posted First question asked

Hello.

What can you tell us about Errata8?

If you use SDK 1.3.3 or later, the user code will not Is it not necessary to take measures against errata 8?

 

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

SDK versions 1.3.3 and later introduce a firmware workaround to prevent this kind of failure. The USB driver in the libraries internally manages (suspends and then resumes) DMA transfers and performs an Endpoint Memory reset when potential error conditions are seen.

As an endpoint memory reset will result in CYU3P_USBEP_SS_RESET_EVT (provided if the event is registered in the firmware using CyU3PUsbRegisterEpEvtCallback)  event on all IN endpoints.

To work around the problem from firmware, recommended recovery the procedure is to STALL the endpoint, and then stop and restart the DMA data path when the CLEAR_FEATURE request is received.

Please refer to the GpifToUsb firmware example for an implementation of this sequence

Regards,
Rashi

View solution in original post

0 Likes
3 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

SDK versions 1.3.3 and later introduce a firmware workaround to prevent this kind of failure. The USB driver in the libraries internally manages (suspends and then resumes) DMA transfers and performs an Endpoint Memory reset when potential error conditions are seen.

As an endpoint memory reset will result in CYU3P_USBEP_SS_RESET_EVT (provided if the event is registered in the firmware using CyU3PUsbRegisterEpEvtCallback)  event on all IN endpoints.

To work around the problem from firmware, recommended recovery the procedure is to STALL the endpoint, and then stop and restart the DMA data path when the CLEAR_FEATURE request is received.

Please refer to the GpifToUsb firmware example for an implementation of this sequence

Regards,
Rashi
0 Likes
masa_xyz
Level 1
Level 1
First solution authored First reply posted First question asked

Hello.

Thank you for your help.
I found out how to fix the errata and finished the measures.

Is there any way to check if the Errata 8 fix has been applied on the actual machine?
Host application, etc...

0 Likes
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

The issue is seen when the link is bad and there are retries on the bus.

If the issue is seen with your setup, it can be checked with the streamer application/control center application

Regards,
Rashi
0 Likes