Compression Error Codes#

Bootloader error codes returned by the decompressor.

Offset from BOOTLOADER_ERROR_COMPRESSION_BASE

Macros#

#define
BOOTLOADER_ERROR_COMPRESSION_INIT (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x01)

Could not initialize decompressor.

#define
BOOTLOADER_ERROR_COMPRESSION_STATE (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x02)

Invalid decompressor state – possible invalid input.

#define
BOOTLOADER_ERROR_COMPRESSION_DATA (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x03)

Data error.

#define
BOOTLOADER_ERROR_COMPRESSION_DATALEN (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x04)

Data length error.

#define
BOOTLOADER_ERROR_COMPRESSION_MEM (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x05)

Memory error.

Macro Definition Documentation#

BOOTLOADER_ERROR_COMPRESSION_INIT#

#define BOOTLOADER_ERROR_COMPRESSION_INIT
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x01)

Could not initialize decompressor.


BOOTLOADER_ERROR_COMPRESSION_STATE#

#define BOOTLOADER_ERROR_COMPRESSION_STATE
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x02)

Invalid decompressor state – possible invalid input.


BOOTLOADER_ERROR_COMPRESSION_DATA#

#define BOOTLOADER_ERROR_COMPRESSION_DATA
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x03)

Data error.


BOOTLOADER_ERROR_COMPRESSION_DATALEN#

#define BOOTLOADER_ERROR_COMPRESSION_DATALEN
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x04)

Data length error.


BOOTLOADER_ERROR_COMPRESSION_MEM#

#define BOOTLOADER_ERROR_COMPRESSION_MEM
Value:
  (BOOTLOADER_ERROR_COMPRESSION_BASE | 0x05)

Memory error.