Recent discussions
Hello,
I'd like to interpret the value epStatus (type of CyU3PUsbHostEpStatus_t ) which shows the transfer status.
However, so far I couldn't find any material which deals with it even on the FX3API guide and examples etc.
It would be great if someone can lead me to the relevant information.
Here are some of my logs on epStatus for example.
CyFxHostXferCb ep=0x81,epStatus=0x578081
CyFxHostXferCb ep=0x81,epStatus=0x1C78081
CyFxHostXferCb ep=0x81,epStatus=0x1
CyFxHostXferCb ep=0x81,epStatus=0x378081
CyFxHostXferCb ep=0x81,epStatus=0x1
CyFxHostXferCb ep=0x81,epStatus=0x578081
CyFxHostXferCb ep=0x81,epStatus=0x378081
Thanks for any comments.
Show LessHost Platform: Ubuntu
1) Why does download_fx3.cpp not use/call cyusb_download_fx3 (cyusb_linux_1.0.5/cyusb.h)?
Is it just because the latter is RAM only whereas download_fx3.cpp also supports I2C & SPI?
2) Is there any source available for cyusb_download_fx3() ?
Or is cyusb_download_fx3() really the fx3_usbboot_download() implementation in download_fx3.cpp?
3) The FX3 SDK includes cyfxflashprog.c/cyfxflashprog.img.
I assume this is the identical source used to gen the img used by download_fx3.cpp?.. it has the same name ...
Thanks
John
Hi all,
We had build up a USB3.0 device by Cypress FX3. But we can't recognized (Linkup) by Host.
I have no idea how to debug this issue, have any one can help me on this issue?
Thanks
Jimmy
Show LessSlavefifo模式下的bulk传输时候,FPGA向电脑端发送数据的时候,在我的数据前面一直会有不定长度的乱码数据,很多时候都是0,请问我应该如何对固件操作,在发送我的数据的时候,清空缓存区呢?
请问哪里有同步传输/等时传输(isochronous)的固件可以使用
目前我可以找到slavefifo_2bit的固件进行使用
Hello,
I have constructed data receiving module quote from the USBHost example, which is shown below.
In my test, first few minutes, it worked okay but it ends up with "CY_U3P_ERROR_INVALID_SEQUENCE" error which caused by CyU3PUsbHostEpSetXfer function.
FX3 API Guide says the error means "The endpoint is already active" but this is not enough for me.
Can you please explain in more detail in what case, does this error breakout?
Show LessCyU3PReturnStatus_t
CyFxMscRecvBuffer (
uint8_t *buffer,
uint16_t count)
{
CyU3PDmaBuffer_t buf_p;
CyU3PUsbHostEpStatus_t epStatus;
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
/* Setup the DMA for transfer. */
buf_p.buffer = buffer;
buf_p.count = 0;
buf_p.size = ((count + 0x0F) & ~0x0F);
buf_p.status = 0;
status = CyU3PDmaChannelSetupRecvBuffer (&glMscInCh, &buf_p);
if (status == CY_U3P_SUCCESS)
{
status = CyU3PUsbHostEpSetXfer (glMscInEp,
CY_U3P_USB_HOST_EPXFER_NORMAL, count);
}
if (status == CY_U3P_SUCCESS)
{
status = CyU3PUsbHostEpWaitForCompletion (glMscInEp, &epStatus,
CY_FX_MSC_WAIT_TIMEOUT);
}
if (status == CY_U3P_SUCCESS)
{
status = CyU3PDmaChannelWaitForCompletion (&glMscInCh, CYU3P_NO_WAIT);
}
if (status != CY_U3P_SUCCESS)
{
CyFxMscErrorRecovery ();
}
return status;
}
你好,
调试时候遇到一个问题,当cypress cx3 枚举的时候添加interface 大于3的时候
,usb 总线suspend 就不会进来。
随便加一个无额外端点的interface 就不会进suspend.
枚举完全正常。
哪怕新加的接口并不做实际功能。或者功能也完全正常。
请问sdk 是否有限制?需要进一步调试如何调试?
谢谢
Show Less你好,由于我的芯片固件版本比较老,是1.0.3.78,我看DVK上的fw版本号是1.0.10.2,请提供更新用的fw文件,谢谢!
另外,我更新fw使用的命令为:
fwdownload.exe -c default_CY7C65215-32LTXI.cyusb -vid 0x04B4 -pid 0x0007 -mode vendor -sn 0001 -timeout 25000
请帮忙确认一下是否正确和完整,fwdownload.exe文件如果有相应的更新版本,也请一并提供一下,谢谢!!
Show Less你好,由于我的芯片固件版本比较老,是1.0.3.78,我看DVK上的fw版本号是1.0.10.2,请提供更新用的fw文件,谢谢!
另外,我更新fw使用的命令为:
fwdownload.exe -c default_CY7C65215-32LTXI -vid 0x04B4 -pid 0x0007 -mode vendor -sn 0001 -timeout 25000
请帮忙确认一下是否正确和完整,fwdownload.exe文件如果有相应的更新版本,也请一并提供一下,谢谢!!
Show Less