Initial release

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

bootloader_settings_t Struct Reference

bootloader_settings_t Struct Reference
[Types and definitions.]

Structure holding bootloader settings for application and bank data. More...

#include <bootloader_types.h>

Data Fields

bootloader_bank_code_t bank_0
 Variable to store if bank 0 contains a valid application.
uint16_t bank_0_crc
 If bank is valid, this field will contain a valid CRC of the total image.
bootloader_bank_code_t bank_1
 Variable to store if bank 1 has been erased/prepared for new image.
uint32_t bank_0_size
 Size of active image in bank0 if present, otherwise 0.
uint32_t sd_image_size
 Size of SoftDevice image in bank0 if bank_0 code is BANK_VALID_SD.
uint32_t bl_image_size
 Size of Bootloader image in bank0 if bank_0 code is BANK_VALID_SD.
uint32_t app_image_size
 Size of Application image in bank0 if bank_0 code is BANK_VALID_SD.
uint32_t sd_image_start
 Location in flash where SoftDevice image is stored for SoftDevice update.

Detailed Description

Structure holding bootloader settings for application and bank data.

Definition at line 65 of file bootloader_types.h.


Field Documentation

uint32_t app_image_size

Size of Application image in bank0 if bank_0 code is BANK_VALID_SD.

Definition at line 73 of file bootloader_types.h.

Variable to store if bank 0 contains a valid application.

Definition at line 67 of file bootloader_types.h.

uint16_t bank_0_crc

If bank is valid, this field will contain a valid CRC of the total image.

Definition at line 68 of file bootloader_types.h.

uint32_t bank_0_size

Size of active image in bank0 if present, otherwise 0.

Definition at line 70 of file bootloader_types.h.

Variable to store if bank 1 has been erased/prepared for new image.

Bank 1 is only used in Banked Update scenario.

Definition at line 69 of file bootloader_types.h.

uint32_t bl_image_size

Size of Bootloader image in bank0 if bank_0 code is BANK_VALID_SD.

Definition at line 72 of file bootloader_types.h.

uint32_t sd_image_size

Size of SoftDevice image in bank0 if bank_0 code is BANK_VALID_SD.

Definition at line 71 of file bootloader_types.h.

uint32_t sd_image_start

Location in flash where SoftDevice image is stored for SoftDevice update.

Definition at line 74 of file bootloader_types.h.