Image Parser Error CodesError Codes

Description

Bootloader error codes returned by the image file parser.

Offset from BOOTLOADER_ERROR_PARSER_BASE

Macros

#define BOOTLOADER_ERROR_PARSER_UNEXPECTED ( BOOTLOADER_ERROR_PARSER_BASE | 0x01L)
Encountered unexpected data/option.
#define BOOTLOADER_ERROR_PARSER_BUFFER ( BOOTLOADER_ERROR_PARSER_BASE | 0x02L)
#define BOOTLOADER_ERROR_PARSER_PARSED ( BOOTLOADER_ERROR_PARSER_BASE | 0x03L)
Internal state: done parsing the current input buffer.
#define BOOTLOADER_ERROR_PARSER_KEYERROR ( BOOTLOADER_ERROR_PARSER_BASE | 0x04L)
Invalid encryption key or no key not present.
#define BOOTLOADER_ERROR_PARSER_CRC ( BOOTLOADER_ERROR_PARSER_BASE | 0x05L)
Invalid checksum.
#define BOOTLOADER_ERROR_PARSER_SIGNATURE ( BOOTLOADER_ERROR_PARSER_BASE | 0x06L)
Invalid signature.
#define BOOTLOADER_ERROR_PARSER_EOF ( BOOTLOADER_ERROR_PARSER_BASE | 0x07L)
Image parsing is already done (or has previously errored out)
#define BOOTLOADER_ERROR_PARSER_UNKNOWN_TAG ( BOOTLOADER_ERROR_PARSER_BASE | 0x08L)
Unknown data type in image file.
#define BOOTLOADER_ERROR_PARSER_VERSION ( BOOTLOADER_ERROR_PARSER_BASE | 0x09L)
Image file version doesn't match with parser.
#define BOOTLOADER_ERROR_PARSER_FILETYPE ( BOOTLOADER_ERROR_PARSER_BASE | 0x0AL)
Image file type doesn't match with parser.
#define BOOTLOADER_ERROR_PARSER_INIT ( BOOTLOADER_ERROR_PARSER_BASE | 0x0BL)
Initialization failed.
#define BOOTLOADER_ERROR_PARSER_REJECTED ( BOOTLOADER_ERROR_PARSER_BASE | 0x0CL)
Upgrade file was rejected.
#define BOOTLOADER_ERROR_PARSER_OVERLAP ( BOOTLOADER_ERROR_PARSER_BASE | 0x0DL)
Upgrade file overlaps with the upgrade location.

Macro Definition Documentation

#define BOOTLOADER_ERROR_PARSER_BUFFER   ( BOOTLOADER_ERROR_PARSER_BASE | 0x02L)

Ran out of internal buffer space. Please increase internal buffer size to match biggest header

Definition at line 258 of file btl_errorcode.h .