-
1. Re: [SOLVED] Is synchronous transfers broken in FX3?
user_438021184 Feb 5, 2017 4:15 AM (in response to user_438021184)The size is 8bytes. I can read the eeprom with 1k wLength on a superspeed bus.
-
2. Re: [SOLVED] Is synchronous transfers broken in FX3?
user_438021184 Feb 5, 2017 5:25 AM (in response to user_438021184)BTW: Wouldn't it be better if the firmware code in cyfxusbi2cregmode.c case CY_FX_RQT_ID_CHECK: CyU3PUsbSendEP0Data (8, (uint8_t *)glFirmwareID); break;
Did
case CY_FX_RQT_ID_CHECK: status = CyU3PUsbSendEP0Data (8, (uint8_t *)glFirmwareID); break;
Then it would detect any failure returned by CyU3PUsbSendEP0Data?
-
3. Re: [SOLVED] Is synchronous transfers broken in FX3?
user_438021184 Feb 5, 2017 5:44 AM (in response to user_438021184)It's also quite unstable. I'm getting the "Vendor command failed" with bmReqType=40, bRequest=bb, wValue=0000, wIndex=0000, wLength=1024.
-
4. Re: [SOLVED] Is synchronous transfers broken in FX3?
nisa Mar 22, 2017 9:47 PM (in response to user_438021184)Yes, that's true. You can check the return value for debugging. Please make sure if you the vendor command is triggering this case. Next check if the return status is a failure. If it fails, please check the error code returned.
-
5. Re: [SOLVED] Is synchronous transfers broken in FX3?
nisa Mar 22, 2017 9:55 PM (in response to user_438021184)I checked the default firmware provided in the FX3 SDK on Windows and it works fine (B-type Vendor/0x40, bRequest 0xB0. and Direction In) . Can you verify if your firmware works fine on Windows? If so, we will have to look at the Linux side, else must also check the I2C communication. Please check the return status of CyU3PUsbGetEP0Data when it fails.