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_SLOT
Value:
  (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_ADDRESS
Value:
  (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_ERASE
Value:
  (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_ALIGN
Value:
  (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_BOOTLOAD
Value:
  (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_IMAGE
Value:
  (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_CONTINUE
Value:
  (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_GENERIC
Value:
  (BOOTLOADER_ERROR_STORAGE_BASE | 0x08L)

Generic storage error.


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