Address table for the Main Bootloader.

Public Attributes#

Header of the Main Bootloader table.

uint32_t

Size of the Main Bootloader.

Start address of the application.

uint32_t *

End address of the allocated application space.

uint32_t

Capabilities of the bootloader.

int32_t(*

Initialize bootloader for use from application.

int32_t(*

Deinitialize bootloader after use from application.

bool(*

Verify application.

int32_t(*

Initialize parser.

int32_t(*

Parse a buffer.

Function table for storage component.

int32_t(*

Parse a buffer and get application and bootloader upgrade metadata from the buffer.

uint32_t(*

Size of context buffer used by bootloader image parser to store parser state.

uint32_t(*

Remaining number of application upgrades.

void(*

Get the list of the peripheral that is used by the bootloader.

uint32_t(*

Get base address of bootloader upgrade image.

Public Attribute Documentation#

header#

BootloaderHeader_t MainBootloaderTable_t::header

Header of the Main Bootloader table.


size#

uint32_t MainBootloaderTable_t::size

Size of the Main Bootloader.


startOfAppSpace#

BareBootTable_t* MainBootloaderTable_t::startOfAppSpace

Start address of the application.


endOfAppSpace#

uint32_t* MainBootloaderTable_t::endOfAppSpace

End address of the allocated application space.


capabilities#

uint32_t MainBootloaderTable_t::capabilities

Capabilities of the bootloader.


init#

int32_t(* MainBootloaderTable_t::init) (void)

Initialize bootloader for use from application.


deinit#

int32_t(* MainBootloaderTable_t::deinit) (void)

Deinitialize bootloader after use from application.


verifyApplication#

bool(* MainBootloaderTable_t::verifyApplication) (uint32_t startAddress)

Verify application.


initParser#

int32_t(* MainBootloaderTable_t::initParser) (BootloaderParserContext_t *context, size_t contextSize)

Initialize parser.


parseBuffer#

int32_t(* MainBootloaderTable_t::parseBuffer) (BootloaderParserContext_t *context, const BootloaderParserCallbacks_t *callbacks, uint8_t data[], size_t numBytes)

Parse a buffer.


storage#

const BootloaderStorageFunctions_t* MainBootloaderTable_t::storage

Function table for storage component.


parseImageInfo#

int32_t(* MainBootloaderTable_t::parseImageInfo) (BootloaderParserContext_t *context, uint8_t data[], size_t numBytes, ApplicationData_t *appInfo, uint32_t *bootloaderVersion)

Parse a buffer and get application and bootloader upgrade metadata from the buffer.


parserContextSize#

uint32_t(* MainBootloaderTable_t::parserContextSize) (void)

Size of context buffer used by bootloader image parser to store parser state.


remainingApplicationUpgrades#

uint32_t(* MainBootloaderTable_t::remainingApplicationUpgrades) (void)

Remaining number of application upgrades.


getPeripheralList#

void(* MainBootloaderTable_t::getPeripheralList) (uint32_t *ppusatd0, uint32_t *ppusatd1)

Get the list of the peripheral that is used by the bootloader.


getUpgradeLocation#

uint32_t(* MainBootloaderTable_t::getUpgradeLocation) (void)

Get base address of bootloader upgrade image.