We want to update FX3 firmware by the steps: Insert a FX3 module into the computer, then press a key such as "firmware update", updating firmware, success, then reset to restart from SPI.
The step of "press a key---firmware update", we want to send a command to FX3 module to erase flash. then, SPI on Failure, USB boot up. The problem is how to go through from computer to FX3, maybe API needed, but what's the right API?
Thank you very much.