The purpose of this interface is to provide bootloader-specific functions, that encapsulate bootloader behaviour in order to use default control flow.
Realization.
The realization of this interface is optional. You only need this is if you want to use ROBOOT's default control flow.
Functions | |
void | HWInit (void) |
bool | TriggerIsPresent (void) |
bool | FeedImageProcessor (void) |
void | CallApplication (void) |
void HWInit | ( | void | ) |
Initializes the targer. This function is called just after C runtime initialization. After this call MCu should operate on stable clock and be able to detect bootloader trigger condition (i.e. GPIO pins should be set up or access to the external FLASH mirror memory should be initialized).
bool TriggerIsPresent | ( | void | ) |
Checks if bootloader has to be activated.
bool FeedImageProcessor | ( | void | ) |
This function should supply bootloader image to image processor by calling its functions. First there should be called ROBOOT_InitProcessing and next there should be subsequent call(s) to IPProcessPacket.
Definition at line 41 of file xmodem_feeder.c.
References CommHwGetByte(), CommHwInit(), CommHwSendByte(), ROBOOT_InitProcessing(), and ROBOOT_ProcessPacket().
void CallApplication | ( | void | ) |
Jumps to the user application.