Can I create custom USB descriptors for USB-Serial bridge controllers e.g. CY7C65211?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
BuHa_1507271
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

My goal is to install USB descriptors to allow WebUSB access as described here.    

The Cypress USB-Serial Configuration Utility seems to allow only limited changes to the descriptors.  Is there a lower-level mechanism I can access to add a Binary Object Store (BOS)  descriptor?

Available resources on the web include examples of the hex values in the descriptor, I shouldn't need a GUI tool to do this, I'm good with a command line and some documentation.

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

>> The 512 bytes of data has the USB Serial Configuration information such as whether it is USB to UART or USB to I2C, GPIO modes etc. All the parameters that can be configures using the USB Serial Configuration Utility is stored in the 512 bytes of flash.

>> The option to disable the Manufacturing Mode interface is provided so as to avoid reprogramming/re-configuring the USB-Serial device.

Manufacturing Mode interface should not be disabled unless you will have no need to reprogram the device.

>> As I mentioned in my previous response, it won't be possible to add descriptors in USB Serial firmware since it is a fixed firmware part. You can explore the below mentioned 2 chips if it meets your requirements. Their firmware can be customized.

FX2LP: https://www.cypress.com/file/138911/download

FX3: https://www.cypress.com/file/140296/download

Regards,

Mallika

 

View solution in original post

0 Likes
3 Replies
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

CY7C65211 is a fixed firmware part. The only changes  which are possible can be made through the USB-Serial Configuration Utility.

Regards,

Mallika

0 Likes
BuHa_1507271
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

The CY7C65211 datasheet describes it as having a 512-byte flash for storing configuration parameters.   Right?

How do I get at that 512-byte memory? there doesn't seem to be any GUI in the tool to address it.    Is that same 512-byte memory shared for the configuration the GUI-based USB-Serial Configuration Utility does?

Does access to that flash memory have anything to do with the "Enable manufacturing interface" option that does appear in the USB-Serial Configuration Utility?    Is there documentation of the manufacturing interface anywhere?

Perhaps I can work around that short term by installing a custom INF file on Windows.   Ideally with a matching VID/PID.  

0 Likes
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

>> The 512 bytes of data has the USB Serial Configuration information such as whether it is USB to UART or USB to I2C, GPIO modes etc. All the parameters that can be configures using the USB Serial Configuration Utility is stored in the 512 bytes of flash.

>> The option to disable the Manufacturing Mode interface is provided so as to avoid reprogramming/re-configuring the USB-Serial device.

Manufacturing Mode interface should not be disabled unless you will have no need to reprogram the device.

>> As I mentioned in my previous response, it won't be possible to add descriptors in USB Serial firmware since it is a fixed firmware part. You can explore the below mentioned 2 chips if it meets your requirements. Their firmware can be customized.

FX2LP: https://www.cypress.com/file/138911/download

FX3: https://www.cypress.com/file/140296/download

Regards,

Mallika

 

0 Likes