How to reload from EEPROM without fysical reconnect device | Cypress Semiconductor
How to reload from EEPROM without fysical reconnect device
I use the Cypress Vend_Ax.hex firmware file (loaded in RAM) to write our own firmware to the EEPROM.
Our own firmware is converted to IIC format using the Hex2bix tool and contains a dummy string for the serial number.
Upon write to the EEPROM, this dummy string will be replaced by an unique serial number.
This is working fine, but the device must be disconnected (or power-down) in order to start with the newly written firmware.
Is it possible to trigger the FX2LP to load the EEPROM by itself? (a sort of hard reset/reboot)
Another possibility I could think of was to load our firmware also to the RAM (using vendor-request 0xA0) after writing to the EEPROM. But then I need to have the hex-format again and change the serial in that version also. Problem is that the characters of the dummy serial doesn't have to be in one consecutive row, which makes the replacement a bit more difficult.
Is it possible to convert the IIC format back to a format I can program to the RAM directly?
What has to be done to do this?