Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED
Moderator:
RSKV

Post Reply
Follow this topic



CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED

Lumpi6 posted on 06 Mar 2012 5:51 AM PST
Top Contributor
183 Forum Posts

Hi,

I have the problem, that after a while running system with transferring data through EP2 via sync slave fifo and control communication via EP0 the system stucks.

 

At this moment I can not communicate over the EP0. The function CyU3PUsbSendEP0Data returns then CY_U3P_ERROR_ABORTED and the call of that API function takes about 2ms (way to long).

I append two lecroy analyzer logs:

1. Transfer_Good.usb: two requests each successful transaction one rq returns two bytes.

2. Transfer_Bad.usb: two requests both the same, should also return 2 bytes but do not. What means defer?

 

Thanks,

lumpi




Re: CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED

aasi posted on 09 Mar 2012 12:37 AM PST
Cypress Employee
1073 Forum Posts

Hi,

Please create a tech support case (MyAccount -> MyCases) so that one of our engineers can look into this.

Regards,

Anand



Re: CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED

sodafarl posted on 26 Mar 2012 06:19 AM PST
Top Contributor
128 Forum Posts

Hi Lumpi6,

Were you able to get this problem sorted. I have a similar problem that when  I transfer data over EP2 in slave fifo mode and then do control transfers over EP0, the data transfer over EP2 eventually fails. I've hooked up an analyser and just before EP2 transfer fails a  control transfer has taken place - after this EP2 returns an NRDY signal and no more data is transferred over  EP2.

Thanks,

Sodafarl



Re: CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED

RSKV posted on 02 Apr 2012 10:07 PM PST
Cypress Employee
655 Forum Posts

Hi Lumpi6/Sodafarl,

Could you please share your source code that is giving the above mentioned issue.

Thanks,

Sai Krishna.



Re: CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED

sodafarl posted on 02 May 2012 10:18 AM PST
Top Contributor
128 Forum Posts

Hi,

I was able to get my data transfer problem sorted out by replacing the FX3 engineering sample part with a production part. I have replaced this part on three different boards and now no longer see any issues with the data endpoint or control endpoint stalling. I carried out tests with applications that used either the Cypress or Libusb driver. Strangely the Libusb test would not work until I had disconnected the 32KHz oscillator.

Sodafarl



Re: CyU3PUsbSendEP0Data returns CY_U3P_ERROR_ABORTED

MadMax_805 posted on 16 Nov 2012 12:34 PM PST
Member
10 Forum Posts

 I have also recently started seeing this same issue which occurs after many reads and writes on the EP0. While using EP0 I am also using the 32-bit GPIF at full speed. The stall happens on this function call CyU3PUsbSendEP0Data(uint16_t count, uint8_t * buffer); Returns Error Code 72 which I believe is CY_U3P_ERROR_ABORTED. The FX3 has the following markings:

CYUSB3014-BZX
I                 1207
A              33PHI
CYP        607623

I am also openning up a case for this issue.

Thanks in advance.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.