Parse Error Codes#

Bootloader error codes returned by image parsing.

Offset from BOOTLOADER_ERROR_PARSE_BASE

Macros#

#define
BOOTLOADER_ERROR_PARSE_CONTINUE (BOOTLOADER_ERROR_PARSE_BASE | 0x01L)

Parse not complete, continue calling the parsing function.

#define
BOOTLOADER_ERROR_PARSE_FAILED (BOOTLOADER_ERROR_PARSE_BASE | 0x02L)

Verification failed.

#define
BOOTLOADER_ERROR_PARSE_SUCCESS (BOOTLOADER_ERROR_PARSE_BASE | 0x03L)

Verification successfully completed. Image is valid.

#define
BOOTLOADER_ERROR_PARSE_STORAGE (BOOTLOADER_ERROR_PARSE_BASE | 0x04L)

Bootloader has no storage, and cannot parse images.

#define
BOOTLOADER_ERROR_PARSE_CONTEXT (BOOTLOADER_ERROR_PARSE_BASE | 0x05L)

Parse context incompatible with parse function.