I want to update the firmware via SPI.
I want to build a flash binary using CCS. Can anyone tell me how to generate this file?
Then I want to take this file to program the flash memory via SPI. I would follow the steps below, but I don't know if it works.
1. Use the ram function to execute all the steps of flash programming.
2. Initialize the SPI peripheral.
3. Read the binary from SPI and program the all-flash using the FLASH API.
Can anyone tell me how to program the flash memory via SPI in the correct steps?
Thanks
Cody