I would like to switch between UART mode (SBC0 Mode 2) and I2C modes (SBC0 Mode 5/6). Is there a command to switch at runtime, or does it require reprogramming the internal flash?
If flash reprogramming is required:
1) How many cycles does the flash endure?
2) Reading and writing of the flash is apparently possible using the READ/WRITE_USER_FLASH requests, (0xE0, 0xE1). Can you provide a config suitable for the CyUSB3Kit-003, changing the SBC0 config from UART mode to I2C mode?
The internal flash is not reprogrammable and for changing the configuration mode from UART to I2C, you need to use the USB-Serial Configuration Utility. The Read or Write requests can only be used to write to the user flash area and not for configuration area.