Hi, TI gurus.
I want to use I2C port to upgrade frimware without using OTP memory.
I had read these materials:
1. Live Firmware Update with Device Reset on C2000 MCUs (Rev. A) (ti.com)
2. TMS320F28x Boot Features and Configurations (Rev. A)
but can not draw detailed picture of live firmware update of my applaication.
By using F280025C, therte is only one 128KB flash bank (Flash bank0) can not use the method implement in (1) because it use F280049 as example, and it has two flash bank.
And I noticed it mention by using Flash API in ROM can reduce RAM usage, and flash can not be read/write at the same time.
So the only way to do the job is move necessary function to RAM (including I2C data transmit kernel), use ROM Flash API to read/write new firmware package into flash.
If There is another method, please tell me.
Then there are few questions:
1. After recieved new firmware package, how to set up the entry point for next device reset?
2. Do I need modify the boot select table to change flash entry point like from sector 0 to sector 4, or I can specify any address as entry point in linker command file in new firmware project?
Thanks, Best regards.