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.


Definition at line 147 of file platform/bootloader/api/btl_interface.h

size#

uint32_t MainBootloaderTable_t::size

Size of the Main Bootloader.


Definition at line 149 of file platform/bootloader/api/btl_interface.h

startOfAppSpace#

BareBootTable_t* MainBootloaderTable_t::startOfAppSpace

Start address of the application.


Definition at line 151 of file platform/bootloader/api/btl_interface.h

endOfAppSpace#

uint32_t* MainBootloaderTable_t::endOfAppSpace

End address of the allocated application space.


Definition at line 153 of file platform/bootloader/api/btl_interface.h

capabilities#

uint32_t MainBootloaderTable_t::capabilities

Capabilities of the bootloader.


Definition at line 155 of file platform/bootloader/api/btl_interface.h

init#

int32_t(* MainBootloaderTable_t::init) (void)

Initialize bootloader for use from application.


Definition at line 158 of file platform/bootloader/api/btl_interface.h

deinit#

int32_t(* MainBootloaderTable_t::deinit) (void)

Deinitialize bootloader after use from application.


Definition at line 160 of file platform/bootloader/api/btl_interface.h

verifyApplication#

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

Verify application.


Definition at line 163 of file platform/bootloader/api/btl_interface.h

initParser#

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

Initialize parser.


Definition at line 166 of file platform/bootloader/api/btl_interface.h

parseBuffer#

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

Parse a buffer.


Definition at line 168 of file platform/bootloader/api/btl_interface.h

storage#

const BootloaderStorageFunctions_t* MainBootloaderTable_t::storage

Function table for storage component.


Definition at line 174 of file platform/bootloader/api/btl_interface.h

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.


Definition at line 177 of file platform/bootloader/api/btl_interface.h

parserContextSize#

uint32_t(* MainBootloaderTable_t::parserContextSize) (void)

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


Definition at line 184 of file platform/bootloader/api/btl_interface.h

remainingApplicationUpgrades#

uint32_t(* MainBootloaderTable_t::remainingApplicationUpgrades) (void)

Remaining number of application upgrades.


Definition at line 187 of file platform/bootloader/api/btl_interface.h

getPeripheralList#

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

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


Definition at line 190 of file platform/bootloader/api/btl_interface.h

getUpgradeLocation#

uint32_t(* MainBootloaderTable_t::getUpgradeLocation) (void)

Get base address of bootloader upgrade image.


Definition at line 193 of file platform/bootloader/api/btl_interface.h