XMODEM Error Codes#
Bootloader error codes returned by the XMODEM parser.
Offset from BOOTLOADER_ERROR_XMODEM_BASE
Macros#
#define
BOOTLOADER_ERROR_XMODEM_CRCL (BOOTLOADER_ERROR_XMODEM_BASE | 0x01L)
Could not verify lower CRC byte.
#define
BOOTLOADER_ERROR_XMODEM_CRCH (BOOTLOADER_ERROR_XMODEM_BASE | 0x02L)
Could not verify upper CRC byte.
#define
BOOTLOADER_ERROR_XMODEM_NO_SOH (BOOTLOADER_ERROR_XMODEM_BASE | 0x03L)
No start of header found.
#define
BOOTLOADER_ERROR_XMODEM_PKTNUM (BOOTLOADER_ERROR_XMODEM_BASE | 0x04L)
Packet number doesn't match its inverse.
#define
BOOTLOADER_ERROR_XMODEM_PKTSEQ (BOOTLOADER_ERROR_XMODEM_BASE | 0x05L)
Packet number error (unexpected sequence)
#define
BOOTLOADER_ERROR_XMODEM_PKTDUP (BOOTLOADER_ERROR_XMODEM_BASE | 0x06L)
Packet number error (duplicate)
#define
BOOTLOADER_ERROR_XMODEM_DONE (BOOTLOADER_ERROR_XMODEM_BASE | 0x07L)
Transfer is done (Technically not an error)
#define
BOOTLOADER_ERROR_XMODEM_CANCEL (BOOTLOADER_ERROR_XMODEM_BASE | 0x08L)
Transfer is canceled.
Macro Definition Documentation#
BOOTLOADER_ERROR_XMODEM_CRCL#
#define BOOTLOADER_ERROR_XMODEM_CRCLValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x01L)
Could not verify lower CRC byte.
Definition at line
223
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_XMODEM_CRCH#
#define BOOTLOADER_ERROR_XMODEM_CRCHValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x02L)
Could not verify upper CRC byte.
Definition at line
226
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_XMODEM_NO_SOH#
#define BOOTLOADER_ERROR_XMODEM_NO_SOHValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x03L)
No start of header found.
Definition at line
229
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_XMODEM_PKTNUM#
#define BOOTLOADER_ERROR_XMODEM_PKTNUMValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x04L)
Packet number doesn't match its inverse.
Definition at line
232
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_XMODEM_PKTSEQ#
#define BOOTLOADER_ERROR_XMODEM_PKTSEQValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x05L)
Packet number error (unexpected sequence)
Definition at line
235
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_XMODEM_PKTDUP#
#define BOOTLOADER_ERROR_XMODEM_PKTDUPValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x06L)
Packet number error (duplicate)
Definition at line
238
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_XMODEM_DONE#
#define BOOTLOADER_ERROR_XMODEM_DONEValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x07L)
Transfer is done (Technically not an error)
Definition at line
241
of file platform/bootloader/api/btl_errorcode.h
BOOTLOADER_ERROR_XMODEM_CANCEL#
#define BOOTLOADER_ERROR_XMODEM_CANCELValue:
(BOOTLOADER_ERROR_XMODEM_BASE | 0x08L)
Transfer is canceled.
Definition at line
244
of file platform/bootloader/api/btl_errorcode.h