The Fota Agent driver provides API to Update Firmware over The Air by scheduling the writes in chunks of smaller size while the new image is being recieved over a certain protocol(CAN for example).
Features Supported
- Supports Writes in sector size.
- Only ELF image format supported
- Both XIP and Non-XIP files
Features NOT Supported
Example Usage
Include the below file to access the APIs
Init API
uint8_t gFotaAgentProcessingBuffer[WRITE_CHUNK_SIZE];
ELFUP_ELFPH gProgramHeaderArray[MAX_ELF_PROGRAM_HEADER];
Write Start API
Write Update API
for(int i = 0; i < APP_OSPI_DATA_SIZE; i++)
{
}
Write End API
API
APIs for FOTA Agent