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.

Macro Definition Documentation#

BOOTLOADER_ERROR_PARSE_CONTINUE#

#define BOOTLOADER_ERROR_PARSE_CONTINUE
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x01L)

Parse not complete, continue calling the parsing function.


BOOTLOADER_ERROR_PARSE_FAILED#

#define BOOTLOADER_ERROR_PARSE_FAILED
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x02L)

Verification failed.


BOOTLOADER_ERROR_PARSE_SUCCESS#

#define BOOTLOADER_ERROR_PARSE_SUCCESS
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x03L)

Verification successfully completed. Image is valid.


BOOTLOADER_ERROR_PARSE_STORAGE#

#define BOOTLOADER_ERROR_PARSE_STORAGE
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x04L)

Bootloader has no storage, and cannot parse images.


BOOTLOADER_ERROR_PARSE_CONTEXT#

#define BOOTLOADER_ERROR_PARSE_CONTEXT
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x05L)

Parse context incompatible with parse function.