You are here

A firmware update association problem. | Cypress Semiconductor

A firmware update association problem.

Summary: 1 Reply, Latest post by Nishant on 22 May 2017 11:25 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
ellenfan_1481201's picture
User
4 posts

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.

nisa's picture
Cypress Employee
380 posts

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.

Log in to post new comments.