31 #ifndef __APP_CRC_CHECK_H__ 32 #define __APP_CRC_CHECK_H__ 35 #include "bootloader_common.h" 59 typedef struct _crc_checksum_header
78 #if BL_FEATURE_CRC_ASSERT 100 #endif // __APP_CRC_CHECK_H__ _crc_check_status
Application crc check status codes.
Definition: bl_app_crc_check.h:45
uint32_t crcByteCount
[08:0b]
Definition: bl_app_crc_check.h:63
uint32_t crcStartAddress
[04:07]
Definition: bl_app_crc_check.h:62
uint32_t tag
[00:03] Tag value used to validate the bootloader configuration data. Must be set to 'kcfg'...
Definition: bl_app_crc_check.h:61
void restore_crc_check_failure_pin(void)
Restore crc check failure pin to default state.
Definition: bl_app_crc_check.c:62
Crc check is valid but failed.
Definition: bl_app_crc_check.h:48
uint32_t crcExpectedValue
[0c:0f]
Definition: bl_app_crc_check.h:64
Crc check is invalid, As the BCA is invalid or crc parameters are unset (all 0xff bytes)...
Definition: bl_app_crc_check.h:51
Crc check is inactive, Needs to be verified.
Definition: bl_app_crc_check.h:49
Application crc check status group number (104).
Definition: bootloader_common.h:147
bool is_application_crc_check_pass(void)
Compare the CRC on a range of flash(specified in BCA) against a precomputed CRC value(stored in the B...
Definition: bl_app_crc_check.c:152
uint32_t calculate_application_crc32(crc_checksum_header_t *header, uint32_t crcHeaderStart)
Calculate CRC checksum according to specified checksum header.
Definition: bl_app_crc_check.c:91
Crc check is valid but addresses are out of range.
Definition: bl_app_crc_check.h:54
Crc check is valid and passed.
Definition: bl_app_crc_check.h:47
void init_crc_check_status(property_store_t *propertyStore)
Initialize crc check status property based on BCA related fields.
Definition: bl_app_crc_check.c:75
Structure of property store.
Definition: property.h:276