- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- 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?
- When using the USB-Configuration application, is the save ".cyusb" file is it encrypted to is it raw data?
- Can the ".cyusb" file created from the USB-Configuration, be written to the device using the CyProgUserFlash API function
- Are the CySet***Config API functions only used to set protocol-specific parameters
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
- 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.
- The saved .cyusb file is an encrypted file.
-
Please note that the APIs CyReadUserFlash and CyProgUserFlash are used to read and write into the User Flash area which is 512Bytes. 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".
- Yes, please refer to the API guide attached to this response.
Regards,
Meghavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
- 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.
- The saved .cyusb file is an encrypted file.
-
Please note that the APIs CyReadUserFlash and CyProgUserFlash are used to read and write into the User Flash area which is 512Bytes. 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".
- Yes, please refer to the API guide attached to this response.
Regards,
Meghavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a Linux version of the fwDownload application or a means to configure the device in Linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the CyUSBSerialCommandUtility, generated a .cyusb file from the windows configuration tool, then decrypted the file with the decryption application in windows. When trying to use the CyUSBSerialCommandUtility in Linux
sudo CyUSBSerialCommandUtility my_cy7c65213_cofig_decrypted.cyusbd
I get the following error.
File opened successfully
Bytes successfully read
wrong silicon id
File stream closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Kindly refer to this thread: https://community.infineon.com/t5/USB-low-full-high-speed/USB-Serial-Configuration-Utility-source-co... for configuration utility supported in Linux. You can follow the instructions attached as the zip file in this link.
Please ensure that the utility is not robust as the Windows' configuration utility.
Regards,
Meghavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've managed to get the tool running, but I'm getting the following error when I try to upload the decrypted cyUSB file.
File opened successfully
Bytes successfully read
wrong silicon id
File stream closed
File opened successfully Bytes successfully read wrong silicon id File stream closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
After executing "CyUSBSerialCommandUtility default_CY7C65213-32LTXI_decrypted.cyusbd" command, disconnect the board and reconnect it again. Then print the list of devices first and follow the remaining instructions from Step:12 and let us know if the issue persists.
Regards,
Meghavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm still getting the same issue. I have followed the instructions from "Files for Command Utility"
- Created .cyusb file in windows using the USB configuration tool; I think this is the one.
- Decrypt the .cyusb file in Windows using the decryption tool in the "Filed for command utility"
- Copy files to flash drive and move to Linux machine running "5.15.0-47-generic #51-Ubuntu" Ubuntu 22.04.1 LTS
- Make the linux/lib files with "sudo make" I get the following output
- make the command linux/testutility with "sudo make"; I get the following output
- Copy the decrypted .cyusb file into the test utility directory
- Run "sudo ./CyUSBSerialCommandUtility my_cy7c65213_cofig_default_decrypted.cyusbd" I get the following
The device was originally reset back to factory settings. The .cyusb file was saved based on the factory settings. I then changed the two interfaces from UART to SPI and set the USB current to 500mA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content