- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
There is a question that shows in UART debug.CyU3PSetEpConfig failed, Error code = 77.
I modify the routine named USBIsochloopAuto.My destination is using the iso transfer to transfer data from FPGA to the host.
when i download the FW by control center, there is an error happened.
there is an accessory about my FW and my GPIF design and a picture about the error.
thanks a lot!
Jack chen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The error 77 of CyU3PSetEpConfig is due to CY_U3P_ERROR_INVALID_CONFIGURATION
Please note that only USB endpoint 3 and endpoint 7 can be used as isochronous endpoints when the isoPkts field in the endpoint configuration is configured with a value more than 1.
In the firmware you shared, I observed that isopkts is 3 ( #define CY_FX_ISO_PKTS (3) ) and the endpoint used is 1 (#define CY_FX_EP_CONSUMER 0x81).
Please use consumer endpoint as either 0x83 or 0x87 when isopkts is more than 1. Also change the Consumer socket (CY_FX_CONSUMER_USB_SOCKET) for the DMA channel to map to the correct endpoint.
i.e. if #define CY_FX_EP_CONSUMER 0x83 then
#define CY_FX_CONSUMER_USB_SOCKET CY_U3P_UIB_SOCKET_CONS_3
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The error 77 of CyU3PSetEpConfig is due to CY_U3P_ERROR_INVALID_CONFIGURATION
Please note that only USB endpoint 3 and endpoint 7 can be used as isochronous endpoints when the isoPkts field in the endpoint configuration is configured with a value more than 1.
In the firmware you shared, I observed that isopkts is 3 ( #define CY_FX_ISO_PKTS (3) ) and the endpoint used is 1 (#define CY_FX_EP_CONSUMER 0x81).
Please use consumer endpoint as either 0x83 or 0x87 when isopkts is more than 1. Also change the Consumer socket (CY_FX_CONSUMER_USB_SOCKET) for the DMA channel to map to the correct endpoint.
i.e. if #define CY_FX_EP_CONSUMER 0x83 then
#define CY_FX_CONSUMER_USB_SOCKET CY_U3P_UIB_SOCKET_CONS_3
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
Thanks a lot! got it!
Jack chen