XMODEM Error Codes

Description

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.