Part Number: TMS320F2800157
Hello TI Team,
I am developing a custom bootloader for the TMS320F2800157. My Flash is partitioned into Bootloader, Application, Flags/Metadata, and Data regions.
My planned flow is:
- Application receives a reprogramming request.
- Application writes a reprogramming flag to a dedicated Flash sector.
- Flash APIs run from RAM during the Flash write operation.
- Application performs a software reset.
- Bootloader checks the reprogramming flag(By reading the Value from flash address) after reset.
- If the flag is set, it enters Flash Kernel/reprogramming mode; otherwise, it jumps to the application.
Could you please confirm:
- Is this a valid and recommended approach for the F2800157?
- is their any seperate Flash API's for reading byte size values through giving the flash address.
- Can the bootloader safely read the Flash-resident reprogramming flag after reset before using Flash APIs?
- Is any special Flash initialization required before reading the flag?
- Are there any TI reference examples or application notes implementing a similar reprogramming-flag-based boot flow?
Thank you for your guidance.
Regards,
Kamarudheen