Error Code Base Values#

Bootloader error code base values, per logical function.

Macros#

#define

Initialization errors.

#define

Image verification errors.

#define

Storage errors.

#define

Bootload errors.

#define

Security errors.

#define

Communication component errors.

#define

XMODEM parser errors.

#define

Image file parser errors.

#define

SPI Peripheral driver errors.

#define

UART driver errors.

#define

Compression errors.

Macro Definition Documentation#

BOOTLOADER_ERROR_INIT_BASE#

#define BOOTLOADER_ERROR_INIT_BASE
Value:
0x0100L

Initialization errors.


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

BOOTLOADER_ERROR_PARSE_BASE#

#define BOOTLOADER_ERROR_PARSE_BASE
Value:
0x0200L

Image verification errors.


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

BOOTLOADER_ERROR_STORAGE_BASE#

#define BOOTLOADER_ERROR_STORAGE_BASE
Value:
0x0400L

Storage errors.


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

BOOTLOADER_ERROR_BOOTLOAD_BASE#

#define BOOTLOADER_ERROR_BOOTLOAD_BASE
Value:
0x0500L

Bootload errors.


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

BOOTLOADER_ERROR_SECURITY_BASE#

#define BOOTLOADER_ERROR_SECURITY_BASE
Value:
0x0600L

Security errors.


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

BOOTLOADER_ERROR_COMMUNICATION_BASE#

#define BOOTLOADER_ERROR_COMMUNICATION_BASE
Value:
0x0700L

Communication component errors.


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

BOOTLOADER_ERROR_XMODEM_BASE#

#define BOOTLOADER_ERROR_XMODEM_BASE
Value:
0x0900L

XMODEM parser errors.


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

BOOTLOADER_ERROR_PARSER_BASE#

#define BOOTLOADER_ERROR_PARSER_BASE
Value:
0x1000L

Image file parser errors.


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

BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE#

#define BOOTLOADER_ERROR_SPI_PERIPHERAL_BASE
Value:
0x1100L

SPI Peripheral driver errors.


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

BOOTLOADER_ERROR_UART_BASE#

#define BOOTLOADER_ERROR_UART_BASE
Value:
0x1200L

UART driver errors.


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

BOOTLOADER_ERROR_COMPRESSION_BASE#

#define BOOTLOADER_ERROR_COMPRESSION_BASE
Value:
0x1300L

Compression errors.


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