- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We have made MFi products with a FX3 microcontroller inside. We now need to update the firmware of these products with the use of software running on Windows 10+. So we wanted to use the project fwdownload_fx3 included in EZ-USB™ FX3 SDK for Windows (x32) (exe) 1.3.4. The default path of this project is "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\application\cpp\fwdownload_fx3".
The issue that we are facing is that our MFi products are not working with Windows 10. When we open the Device Manager it shows "configuration descriptor failure" and then "Windows has stopped this device because it has reported problems. (Code 43)" It seems to be quite close to this case: https://community.infineon.com/t5/Knowledge-Base-Articles/Invalid-Configuration-Descriptor-in-Window....
I noticed we have the descriptor below specific for windows
/* Microsoft OS Descriptor. */
const uint8_t CyFxUSBMicrosoftOSDscr[] __attribute__ ((aligned (32))) =
{
0x10,
CY_U3P_USB_STRING_DESCR,
'O', 0x00,
'S', 0x00,
' ', 0x00,
'D', 0x00,
'e', 0x00,
's', 0x00,
'c', 0x00
};
Maybe the issue is that it’s corresponding to the Microsoft OS 1.0 Descriptors Specification not compatible on Windows 10 and we should update this to make it match Microsoft OS 2.0 Descriptors Specification.
It could be also a driver issue, we didn’t dig in that way but in this case it seems that we could build our own driver https://community.infineon.com/t5/USB-superspeed-peripherals/Windows-10-FX3-USB3-1-0-0-driver/m-p/68....
Our goal is to find a way to flash our products that are currently running a firmware we made and that is already deployed on them. So do you think it is possible to fix the issue we are facing without updating the code of our firmware, for example the USB descriptors part?
Thank you very much and have a nice one.
Best regards,
François Delaplace
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello François Delaplace,
Can you please share the complete descriptors used for windows for us to check?
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jayakrishna,
Please find attached the trace from our USB analyser with the descriptors.
Best regards,
François Delaplace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please share the descriptor file used in the project. We need to check if we are able to reproduce the issue at our end by using the same descriptors.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please find the following code to set the descriptors:
/* Register the USB device descriptors with the driver. */
And here is the declarations:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please let me know if you are planning to use the device in USB 3.0 or USB 2.0 mode. This is because, I find that the device descriptor shared is only for USB 2.0 but, the configuration descriptors are only registered for USB 3.0 (the configuration descriptor registering part for USB 2.0 is commented out). Also, please share the complete descriptor file so that we can test at our end quickly. Please note that the macro definitions used in the descriptors should also be shared so that we can understand the setting used for specific fields within the descriptors.
Jayakrishna