Communication Component Error Codes#

Bootloader error codes returned by communication components.

Offset from BOOTLOADER_ERROR_COMMUNICATION_BASE

Macros#

#define
BOOTLOADER_ERROR_COMMUNICATION_INIT (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x01L)

Invalid input parameter to security algorithm Could not initialize hardware resources for communication protocol.

#define
BOOTLOADER_ERROR_COMMUNICATION_START (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x02L)

Could not start communication with host (timeout, sync error, version mismatch, ...)

#define
BOOTLOADER_ERROR_COMMUNICATION_DONE (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x03L)

Host closed communication, no image received.

#define
BOOTLOADER_ERROR_COMMUNICATION_ERROR (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x04L)

Unrecoverable error in host-bootloader communication.

#define
BOOTLOADER_ERROR_COMMUNICATION_IMAGE_ERROR (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x05L)

Host closed communication, no valid image received.

#define
BOOTLOADER_ERROR_COMMUNICATION_TIMEOUT (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x06L)

Communication aborted, no response from host.

Macro Definition Documentation#

BOOTLOADER_ERROR_COMMUNICATION_INIT#

#define BOOTLOADER_ERROR_COMMUNICATION_INIT
Value:
  (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x01L)

Invalid input parameter to security algorithm Could not initialize hardware resources for communication protocol.


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

BOOTLOADER_ERROR_COMMUNICATION_START#

#define BOOTLOADER_ERROR_COMMUNICATION_START
Value:
  (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x02L)

Could not start communication with host (timeout, sync error, version mismatch, ...)


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

BOOTLOADER_ERROR_COMMUNICATION_DONE#

#define BOOTLOADER_ERROR_COMMUNICATION_DONE
Value:
  (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x03L)

Host closed communication, no image received.


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

BOOTLOADER_ERROR_COMMUNICATION_ERROR#

#define BOOTLOADER_ERROR_COMMUNICATION_ERROR
Value:
  (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x04L)

Unrecoverable error in host-bootloader communication.


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

BOOTLOADER_ERROR_COMMUNICATION_IMAGE_ERROR#

#define BOOTLOADER_ERROR_COMMUNICATION_IMAGE_ERROR
Value:
  (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x05L)

Host closed communication, no valid image received.


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

BOOTLOADER_ERROR_COMMUNICATION_TIMEOUT#

#define BOOTLOADER_ERROR_COMMUNICATION_TIMEOUT
Value:
  (BOOTLOADER_ERROR_COMMUNICATION_BASE | 0x06L)

Communication aborted, no response from host.


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