5 Replies Latest reply on Oct 3, 2018 9:56 AM by SrinathS_16

    Is there any C++ example on how to load the .img file to an EEPROM?

      If I use the ControlCenter Program->FX3->I2C EEPROM it successfully loads that img to the EEPROM. I want to know how to write my own code to do exactly that. I have tried enmResult = fx3Device->DownloadFw(("cyfxusbspidmamode_EEPROM.img"), I2CE2PROM); It always returns failed. I have tried enmResult = fx3Device->DownloadFw(("cyfxusbspidmamode_EEPROM.img"), RAM); This is always successful, but the EEPROM never gets programmed.

       

       

      CCyFX3Device *fx3Device = new CCyFX3Device();

      FX3_FWDWNLOAD_ERROR_CODE enmResult = FAILED;