[U-Boot] y-modem protocol issue

Angelo Dureghello angelo70 at gmail.com
Tue Aug 9 12:40:35 CEST 2011


Hi all,

just to inform, seems xyzModem is not following the protocol spec of YModem:

YMODEM Batch Transmission Session (1 file)

SENDER                                      RECEIVER
                                        <-- C (command:rb)
SOH 00 FF foo.c NUL[123] CRC CRC        -->
                                        <-- ACK
                                        <-- C
SOH 01 FE Data[128] CRC CRC             -->
                                        <-- ACK
SOH 02 FC Data[128] CRC CRC             -->
                                        <-- ACK
SOH 03 FB Data[100] CPMEOF[28] CRC CRC  -->
                                        <-- ACK
EOT                                     -->
                                        <-- NAK
EOT                                     -->
                                        <-- ACK
                                        <-- C
SOH 00 FF NUL[128] CRC CRC              -->
                                        <-- ACK



After first EOT u-boot send an ACK, not correct.
Same behavior using SOH or STX.

Regards
angelo




More information about the U-Boot mailing list