Compression error codesError Codes

Description

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.