Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
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?
It is basically a SPI communication with the Flash. You need to have a interface wot communicate to the Flash (SPI). On the button press, you can trigger a SPI write for any number 4/8 byte to constant zeros or ones. This will make the flash img content invalid and the FX3 should fallback to USB boot. Once in USB boot, you can re-program the Flash with the new .img file.