Storage Driver Error CodesError Codes

Description

Bootloader error codes returned by a storage driver.

Offset from BOOTLOADER_ERROR_STORAGE_BASE

Macros

#define BOOTLOADER_ERROR_STORAGE_INVALID_SLOT   (BOOTLOADER_ERROR_STORAGE_BASE | 0x01L)
 Invalid slot.
 
#define BOOTLOADER_ERROR_STORAGE_INVALID_ADDRESS   (BOOTLOADER_ERROR_STORAGE_BASE | 0x02L)
 Invalid address. Address not aligned/out of range.
 
#define BOOTLOADER_ERROR_STORAGE_NEEDS_ERASE   (BOOTLOADER_ERROR_STORAGE_BASE | 0x03L)
 The storage area needs to be erased before it can be used.
 
#define BOOTLOADER_ERROR_STORAGE_NEEDS_ALIGN   (BOOTLOADER_ERROR_STORAGE_BASE | 0x04L)
 The address or length needs to be aligned.
 
#define BOOTLOADER_ERROR_STORAGE_BOOTLOAD   (BOOTLOADER_ERROR_STORAGE_BASE | 0x05L)
 An error occured during bootload from storage.
 
#define BOOTLOADER_ERROR_STORAGE_NO_IMAGE   (BOOTLOADER_ERROR_STORAGE_BASE | 0x06L)
 There is no image in this storage slot.
 
#define BOOTLOADER_ERROR_STORAGE_CONTINUE   (BOOTLOADER_ERROR_STORAGE_BASE | 0x07L)
 Continue calling function.