Image Parser Error Codes#

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)

Ran out of internal buffer space.

#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.

#define
BOOTLOADER_ERROR_PARSER_INVALID_TAG_ORDER (BOOTLOADER_ERROR_PARSER_BASE | 0x0EL)

A GBL tag occurred in an order forbidden by the GBL format spec.

Macro Definition Documentation#

BOOTLOADER_ERROR_PARSER_UNEXPECTED#

#define BOOTLOADER_ERROR_PARSER_UNEXPECTED
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x01L)

Encountered unexpected data/option.


Definition at line 257 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_BUFFER#

#define BOOTLOADER_ERROR_PARSER_BUFFER
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x02L)

Ran out of internal buffer space.

Please increase internal buffer size to match biggest header


Definition at line 261 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_PARSED#

#define BOOTLOADER_ERROR_PARSER_PARSED
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x03L)

Internal state: done parsing the current input buffer.


Definition at line 264 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_KEYERROR#

#define BOOTLOADER_ERROR_PARSER_KEYERROR
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x04L)

Invalid encryption key or no key not present.


Definition at line 267 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_CRC#

#define BOOTLOADER_ERROR_PARSER_CRC
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x05L)

Invalid checksum.


Definition at line 270 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_SIGNATURE#

#define BOOTLOADER_ERROR_PARSER_SIGNATURE
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x06L)

Invalid signature.


Definition at line 273 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_EOF#

#define BOOTLOADER_ERROR_PARSER_EOF
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x07L)

Image parsing is already done (or has previously errored out)


Definition at line 276 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_UNKNOWN_TAG#

#define BOOTLOADER_ERROR_PARSER_UNKNOWN_TAG
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x08L)

Unknown data type in image file.


Definition at line 279 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_VERSION#

#define BOOTLOADER_ERROR_PARSER_VERSION
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x09L)

Image file version doesn't match with parser.


Definition at line 282 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_FILETYPE#

#define BOOTLOADER_ERROR_PARSER_FILETYPE
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x0AL)

Image file type doesn't match with parser.


Definition at line 285 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_INIT#

#define BOOTLOADER_ERROR_PARSER_INIT
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x0BL)

Initialization failed.


Definition at line 288 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_REJECTED#

#define BOOTLOADER_ERROR_PARSER_REJECTED
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x0CL)

Upgrade file was rejected.


Definition at line 291 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_OVERLAP#

#define BOOTLOADER_ERROR_PARSER_OVERLAP
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x0DL)

Upgrade file overlaps with the upgrade location.


Definition at line 294 of file platform/bootloader/api/btl_errorcode.h

BOOTLOADER_ERROR_PARSER_INVALID_TAG_ORDER#

#define BOOTLOADER_ERROR_PARSER_INVALID_TAG_ORDER
Value:
  (BOOTLOADER_ERROR_PARSER_BASE | 0x0EL)

A GBL tag occurred in an order forbidden by the GBL format spec.


Definition at line 297 of file platform/bootloader/api/btl_errorcode.h