Expand description
YMODEM file transfer protocol implementation. YMODEM file transfer protocol implementation.
This module implements the YMODEM protocol for file transfers over serial connections.
YMODEM is commonly used by U-Boot’s loady command.
§Protocol Overview
YMODEM transfers files in 128 or 1024 byte blocks with CRC16 error checking. The protocol supports:
- File name and size transmission in the first block
- Automatic block size selection (128 or 1024 bytes)
- CRC16-CCITT or checksum error detection
- Retry mechanism for failed transmissions
Structs§
- Ymodem
- YMODEM protocol handler for file transfers.