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.


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

BOOTLOADER_ERROR_PARSE_FAILED#

#define BOOTLOADER_ERROR_PARSE_FAILED
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x02L)

Verification failed.


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

BOOTLOADER_ERROR_PARSE_SUCCESS#

#define BOOTLOADER_ERROR_PARSE_SUCCESS
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x03L)

Verification successfully completed. Image is valid.


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

BOOTLOADER_ERROR_PARSE_STORAGE#

#define BOOTLOADER_ERROR_PARSE_STORAGE
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x04L)

Bootloader has no storage, and cannot parse images.


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

BOOTLOADER_ERROR_PARSE_CONTEXT#

#define BOOTLOADER_ERROR_PARSE_CONTEXT
Value:
(BOOTLOADER_ERROR_PARSE_BASE | 0x05L)

Parse context incompatible with parse function.


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