Other Parts Discussed in Thread: TPS65988, TPS65987
I'm studying the SLVAE21A "TPS65987 and TPS65988 SPI Flash Firmware Update Over I2C" for the purpose of writing my own EC code.
It seems the application flow described there assumes that FLASH already has the valid code in at least one region and the task is to do the safe FLASH update.
What is the procedure of programming the FLASH that has no valid image using "Full Flash Image"? Obviously the sample code will fail since there are no valid region pointers.
Should I just execute "Flem" for the entire size of the FLASH then set "FLad" to 0 and do "FLwd" for entire "Full Flash Image"?