Implementation of bootloader state machine.
Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
#include <types.h>
#include <bootStructure.h>
#include <abstractSerializer.h>
#include <hardwareInit.h>
#include "app_info.h"
#include "appEntry.h"
Functions | |
int | Boot_main (void) |
State machine in the main. More... | |
Variables | |
boot_info_t | bInfo |
uint64_t | flag |
int Boot_main | ( | void | ) |
State machine in the main.
References app_infoAction(), flag, jumpToApplication(), lowLevelInit(), lowLevelUnInit(), RESET_FLAG, srecHandshake(), srecProtocol(), and system_reset().
Referenced by main().
boot_info_t bInfo |
Referenced by update_boot_info().
uint64_t flag |
Referenced by Boot_main(), jumpToApplication(), srecHandshake(), srecProtocol(), and update_action().