Storage Driver Error Codes#
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.
#define
BOOTLOADER_ERROR_STORAGE_GENERIC (BOOTLOADER_ERROR_STORAGE_BASE | 0x08L)
Generic storage error.
Macro Definition Documentation#
BOOTLOADER_ERROR_STORAGE_INVALID_SLOT#
#define BOOTLOADER_ERROR_STORAGE_INVALID_SLOTValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x01L)
Invalid slot.
Definition at line
109
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_STORAGE_INVALID_ADDRESS#
#define BOOTLOADER_ERROR_STORAGE_INVALID_ADDRESSValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x02L)
Invalid address. Address not aligned/out of range.
Definition at line
112
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_STORAGE_NEEDS_ERASE#
#define BOOTLOADER_ERROR_STORAGE_NEEDS_ERASEValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x03L)
The storage area needs to be erased before it can be used.
Definition at line
115
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_STORAGE_NEEDS_ALIGN#
#define BOOTLOADER_ERROR_STORAGE_NEEDS_ALIGNValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x04L)
The address or length needs to be aligned.
Definition at line
118
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_STORAGE_BOOTLOAD#
#define BOOTLOADER_ERROR_STORAGE_BOOTLOADValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x05L)
An error occured during bootload from storage.
Definition at line
121
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_STORAGE_NO_IMAGE#
#define BOOTLOADER_ERROR_STORAGE_NO_IMAGEValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x06L)
There is no image in this storage slot.
Definition at line
124
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_STORAGE_CONTINUE#
#define BOOTLOADER_ERROR_STORAGE_CONTINUEValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x07L)
Continue calling function.
Definition at line
127
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_STORAGE_GENERIC#
#define BOOTLOADER_ERROR_STORAGE_GENERICValue:
(BOOTLOADER_ERROR_STORAGE_BASE | 0x08L)
Generic storage error.
Definition at line
130
of file platform/bootloader/api/btl_errorcode.h