- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With the default Master/Slave firmware, a C# program can continue send data to another C# program with zero failed packet. But after changing CY_FX_EP_BURST_LENGTH from 1 to 8 and CY_FX_DMA_BUF_COUNT from 16 to 4 and GPIF counter from 0-511 to 0-4095, the communication stalls after seconds. How to find out the reason?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As per the following threads it seems that you are getting CYU3P_USBEP_SS_RETRY_EVT and then CYU3P_USBEP_SS_RESET_EVT
Data Transfer problem using Streamer (response 2)
How to debug device stall (response 14)
To handle or know the reason for these error, you can refer to point 4 of section 2.3 of FX3_SDK_troubleshooting_guide
Path: ...\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please confirm that you made the above mentioned changes in both the firmware i.e. master and slave firmware.
Please share the snippet when the error occurs
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Both are changed, there are high speed communication for seconds. Snippet doesn't matter here since there are no useful information there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I wanted to check whether there is some error displayed on the host application.
Which host application are you using for streaming.
Also, please check the debug prints and let me know if some errors are there
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The C# program is custom, there is no debug print. What is the possible next step like add some debug print somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I meant the debug prints from firmware to check are there any failures.
You can refer to streamer applications source code to print error from custom application
Path: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\application\c_sharp\streamer
Also can you probe the usb lines and share the traces. You can use wireshark for that
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As per the following threads it seems that you are getting CYU3P_USBEP_SS_RETRY_EVT and then CYU3P_USBEP_SS_RESET_EVT
Data Transfer problem using Streamer (response 2)
How to debug device stall (response 14)
To handle or know the reason for these error, you can refer to point 4 of section 2.3 of FX3_SDK_troubleshooting_guide
Path: ...\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware
Regards,
Rashi
Rashi