High-level UART workflow (download host image to target)
Functions | |
| int | _UartBoot (FlashProgrammer::UartInterface &uartHandle, FILE *fptr) |
| Loads the program to device by sending the file to BootROM/flash kernel via the boot ROM method (byte-by-byte send with byte-by-byte acknowledgement) Note: This is the default behavior from BootROM for uart boot. | |
| int | _PktDataMode (FlashProgrammer::UartInterface &uartHandle, FILE *fptr) |
| Loads the program to device by sending the file to BootROM/flash kernel via the buffered method (frame-by-frame send with frame acknowledgement) Note: This flow has error-detection and error-handling support and therefore recommended for all kernel applications. | |
| int | downloadBootloader (FlashProgrammer::UartInterface &uartHandle, const char *kernelFile) |
| Download a (SBL) kernel to the device via BootROM. | |
| int | downloadApplication (FlashProgrammer::UartInterface &uartHandle, const char *applicationFile, const size_t maxPacketSize) |
| Download an application image with certificate to the device. | |