- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sir,
I designed a custom board with CY3014+FPGA for slavefifo stream-out function for printer purpose.
The config are : GPIF interface external PCLK 48Mhz,32bits,slave fifo out.
While testing,all works OK but sometimes my PC side application(C) showed a problem of transfer failed,err code =997 and could not send data anymore,once close program and re-run ,and it could send again.Unstable.
I verified it by download USBBulkLoopAuto.img to cy3014 , and tested by Bulk Loop.exe for loopback test , no problem .like pictures attached.(sorry,I found I have no permission to upload images yet).
So,means PC->driver->usb 3.0 cable ->CY3014 chip loop back are all normal.
Then,I switched back to my slavefifo.img and run Cypress Streamer.
At first,it worked fine,however, some minutes later, the receiving is stopped and the error message is "Xfer request rejected. NTSTATUS = c0000001".
The interface between CY3014 and FPGA are simple :
32bits data(could be ignored here before problem cleared).2 bits address.
/CS and /OE are GND.
PCLK= supplied by FPGA 48Mhz.
My side,only control /RD ,depend on FX3 /empty signal.
No matter controlled /RD signal,or simply treated /RD=!/EMPTY , all have problem as above red text.
One more clue,before I click steamer START,I select end point and it showed"BULK OUT,16384 bytes,15 maxburst"
Once problem occurred, the end point change back to default "IN...".
Any idea will be appreciated.
Thanks.
BR
Steven
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Steven,
997 Timeout error might be because the FX3 not having enough or no data to send to the host when it requests.
Can you please let me know which base firmware you are using? and is it a Manual or Auto DMA channel between the GPIF and USB?
Please ensure that enough data is always committed and available on the USB side for the host to read in order to avoid 997 timeout error.
Thanks,
Yatheesh