7 Replies Latest reply on Aug 14, 2018 3:52 AM by srnt

    FX3: USB Boot Mode Software

    jameswagner

      Hi all,

       

      Relating to this thread: Firmware update (change to USB Boot Mode by software?)

       

      I need some example code which will allow me to invalidate the image stored on the EEPROM SPI Flash.

       

      I have been following the example firmware in cyfxusbspigpiomode, but it doesn't seem to work for me, and is too complex for what I need.

      Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspigpiomode\

       

      What is the minimal example code required to write a byte/s to the SPI flash to invalidate it. For example just an erase command or simple write command.

       

      I need the FX3 to go into USB boot mode after this. I can't have any hardware solutions - must be done in software.

       

       

      Thanks for your time!

       

      James