Announcements

Register now for the most anticipated Asia Pacific Power Seminar 2022

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

USB low-full-high speed peripherals Forum Discussions

Jack-be-nimble
Level 1
First like given 5 sign-ins First question asked
Level 1

I want to create a custom application that allows me to configure the CY7C65215A to read and write the different protocols. From this post, it sounds like I can't write my application, but instead, I'm required to use the USB-Configure tool to create a ".cyusb" for each configuration. I'm looking for some clarification on a few things.

  1. Can the USB-Serial SDK be used to configure which protocol the device uses, or can it only be done through flashing the internal eeprom?
  2. When using the USB-Configuration application, is the save ".cyusb" file is it encrypted to is it raw data?
  3. Can the ".cyusb" file created from the USB-Configuration, be written to the device using the CyProgUserFlash API function
  4. Are the CySet***Config API functions only used to set protocol-specific parameters
0 Likes
1 Solution
Meghavi
Moderator
Moderator 100 solutions authored 10 likes received First like given
Moderator

Hi,

  1. You can use the Cypress USB-Serial Configuration Utility or you can use the command line tool: https://community.infineon.com/t5/Knowledge-Base-Articles/Command-line-tool-for-configuring-USB-Seri... to configure the device.
  2. The saved .cyusb file is an encrypted file.
  3.  Please note that the APIs CyReadUserFlash and CyProgUserFlash are used to read and write into the User Flash area which is 512KBytes. This has nothing to do with the configuration file. i.e In the UserFlash area you can store any information and read it but cannot modify the particular memory area used by the configuration utility. Please refer to the API guide for more details on the API and the area of the flash that it can program "CyProgUserFlash".

  4. Yes, please refer to the API guide attached to this response. 

Regards,

Meghavi

View solution in original post

0 Likes
1 Reply
Meghavi
Moderator
Moderator 100 solutions authored 10 likes received First like given
Moderator

Hi,

  1. You can use the Cypress USB-Serial Configuration Utility or you can use the command line tool: https://community.infineon.com/t5/Knowledge-Base-Articles/Command-line-tool-for-configuring-USB-Seri... to configure the device.
  2. The saved .cyusb file is an encrypted file.
  3.  Please note that the APIs CyReadUserFlash and CyProgUserFlash are used to read and write into the User Flash area which is 512KBytes. This has nothing to do with the configuration file. i.e In the UserFlash area you can store any information and read it but cannot modify the particular memory area used by the configuration utility. Please refer to the API guide for more details on the API and the area of the flash that it can program "CyProgUserFlash".

  4. Yes, please refer to the API guide attached to this response. 

Regards,

Meghavi

0 Likes