- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am working on FX3S in that we want to write data to SD card which is coming from FPGA and also wants to read data from USB to Host(pc) and i am using the the SlaveFIFO Sync EXAMPLE which is interfaced with FPGA . can any one help me to establish this path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Create a DMA channel from GPIF II to SD card for writing to SD card; create another DMA channel from SD card to USB.
You may have other challenges in handling the data write and read to/from SD card.
Do you have any plan to use file system in this case? How do you want to see the USB device on PC? I meant which device class?
We do not have any working example for this application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
You mean DMA channel from
P---->S &
S----->U
I tried this but End points are not Enumerating
Can you help me to create Dma Channel from
P----->S &
S------->U.
and also i attached the file in which i have created the dma channel as mentioned above please help me to sort out this problem
Thanks Regards ,
Veerendra,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am waiting for your response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can any one help me to sort out this problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can see that you have configured three end points. Where you are using the third endpoint?
/* Producer endpoint configuration */
apiRetStatus = CyU3PSetEpConfig(CY_FX_EP_PRODUCER, &epCfg);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "CyU3PSetEpConfig failed, Error code = %d\n", apiRetStatus);
CyFxAppErrorHandler (apiRetStatus);
}
/* Consumer endpoint configuration */
apiRetStatus = CyU3PSetEpConfig(CY_FX_EP_CONSUMER, &epCfg);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "CyU3PSetEpConfig failed, Error code = %d\n", apiRetStatus);
CyFxAppErrorHandler (apiRetStatus);
}
apiRetStatus = CyU3PSetEpConfig(CY_FX_EP_CONSUMER1, &epCfg);
if (apiRetStatus != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "CyU3PSetEpConfig failed, Error code = %d\n", apiRetStatus);
CyFxAppErrorHandler (apiRetStatus);
Please use JTAG debugger or UART debug prints for debugging the code.
Geethanjali from your company worked on same project one year back. I guess she made some progress in this project. Please check with her. As far as I know your boards does not have feasibility for UART and JTAG debugging.
Without them, debugging is difficult.
Have you revised the boards recently so that you can do JTAG or UART debugging?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello KandlaguntaR,
actually she not available now due to some health issues she is not available so now onward i am continuing this and actually i am able to debug this with Segger j-link but i got these codes from her itself but the problem is endpoint enumeration after configuring dma channels and end points.so if you helped me mean it will be helpful.
thanks and regards ,
veerendra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check whether any API is returning NOT Success.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok