Image Parser Error Codes#
Bootloader error codes returned by the image file parser.
Offset from BOOTLOADER_ERROR_PARSER_BASE
Macros#
Encountered unexpected data/option.
Ran out of internal buffer space.
Internal state: done parsing the current input buffer.
Invalid encryption key or no key not present.
Invalid checksum.
Invalid signature.
Image parsing is already done (or has previously errored out)
Unknown data type in image file.
Image file version doesn't match with parser.
Image file type doesn't match with parser.
Initialization failed.
Upgrade file was rejected.
Upgrade file overlaps with the upgrade location.
A GBL tag occurred in an order forbidden by the GBL format spec.
OOB write in the storage slot while parsing the GBL file.
Macro Definition Documentation#
BOOTLOADER_ERROR_PARSER_UNEXPECTED#
#define BOOTLOADER_ERROR_PARSER_UNEXPECTEDValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x01L)
Encountered unexpected data/option.
257
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_BUFFER#
#define BOOTLOADER_ERROR_PARSER_BUFFERValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x02L)
Ran out of internal buffer space.
Please increase internal buffer size to match biggest header
261
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_PARSED#
#define BOOTLOADER_ERROR_PARSER_PARSEDValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x03L)
Internal state: done parsing the current input buffer.
264
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_KEYERROR#
#define BOOTLOADER_ERROR_PARSER_KEYERRORValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x04L)
Invalid encryption key or no key not present.
267
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_CRC#
#define BOOTLOADER_ERROR_PARSER_CRCValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x05L)
Invalid checksum.
270
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_SIGNATURE#
#define BOOTLOADER_ERROR_PARSER_SIGNATUREValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x06L)
Invalid signature.
273
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_EOF#
#define BOOTLOADER_ERROR_PARSER_EOFValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x07L)
Image parsing is already done (or has previously errored out)
276
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_UNKNOWN_TAG#
#define BOOTLOADER_ERROR_PARSER_UNKNOWN_TAGValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x08L)
Unknown data type in image file.
279
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_VERSION#
#define BOOTLOADER_ERROR_PARSER_VERSIONValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x09L)
Image file version doesn't match with parser.
282
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_FILETYPE#
#define BOOTLOADER_ERROR_PARSER_FILETYPEValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x0AL)
Image file type doesn't match with parser.
285
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_INIT#
#define BOOTLOADER_ERROR_PARSER_INITValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x0BL)
Initialization failed.
288
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_REJECTED#
#define BOOTLOADER_ERROR_PARSER_REJECTEDValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x0CL)
Upgrade file was rejected.
291
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_OVERLAP#
#define BOOTLOADER_ERROR_PARSER_OVERLAPValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x0DL)
Upgrade file overlaps with the upgrade location.
294
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_INVALID_TAG_ORDER#
#define BOOTLOADER_ERROR_PARSER_INVALID_TAG_ORDERValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x0EL)
A GBL tag occurred in an order forbidden by the GBL format spec.
297
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_PARSER_OOB_WRITE#
#define BOOTLOADER_ERROR_PARSER_OOB_WRITEValue:
(BOOTLOADER_ERROR_PARSER_BASE | 0x0FL)
OOB write in the storage slot while parsing the GBL file.
300
of file platform/bootloader/api/btl_errorcode.h