Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
ref:ymodem [2011/07/13 21:31] – digitalman | ref:ymodem [2011/07/13 21:46] – digitalman | ||
---|---|---|---|
Line 43: | Line 43: | ||
Jeff Garbers (Crosstalk package development director) said it all: "With | Jeff Garbers (Crosstalk package development director) said it all: "With | ||
protocols in the public domain, anyone who wants to dink around with them | protocols in the public domain, anyone who wants to dink around with them | ||
- | can go ahead." | + | can go ahead." |
Documents containing altered examples derived from YMODEM.DOC have added | Documents containing altered examples derived from YMODEM.DOC have added | ||
Line 376: | Line 376: | ||
receiver commands CRC-16. | receiver commands CRC-16. | ||
- | | + | === Figure 1: XMODEM-1k Blocks |
SENDER | SENDER | ||
Line 391: | Line 391: | ||
ACK | ACK | ||
- | | + | === Figure |
SENDER | SENDER | ||
Line 537: | Line 537: | ||
RZSZ.ZOO should answer other questions about YMODEM batch protocol. | RZSZ.ZOO should answer other questions about YMODEM batch protocol. | ||
- | | + | === Figure 3: YMODEM Batch Transmission Session |
SENDER | SENDER | ||
Line 560: | Line 560: | ||
ACK | ACK | ||
- | | + | === Figure 4: YMODEM Batch Transmission Session-1k Blocks |
SENDER | SENDER | ||
Line 585: | Line 585: | ||
- | Figure 5. | + | === Figure 5: YMODEM Filename block transmitted by sz === |
+ | < | ||
| | ||
Line 598: | Line 598: | ||
70 00000000 00000000 00000000 00000000 | 70 00000000 00000000 00000000 00000000 | ||
80 000000CA 56 | 80 000000CA 56 | ||
- | + | </ | |
- | Figure 6. | + | === Figure 6: YMODEM Header Information and Features |
_____________________________________________________________ | _____________________________________________________________ | ||
Line 658: | Line 658: | ||
recovery. | recovery. | ||
- | | + | === Figure 7: YMODEM-g Transmission Session |
SENDER | SENDER | ||
Line 691: | Line 691: | ||
<nak> 15H | <nak> 15H | ||
<can> 18H | <can> 18H | ||
- | | + | < |
- | ---- | + | |
- | < | + | |
Line 720: | Line 718: | ||
* The last block sent is no different from others, i.e. there is no "short block" | * The last block sent is no different from others, i.e. there is no "short block" | ||
- | | + | === Figure 8: XMODEM Message Block Level Protocol |
Each block of the transfer looks like: | Each block of the transfer looks like: | ||
Line 790: | Line 788: | ||
getting garbaged. | getting garbaged. | ||
- | | + | === Figure 9: Data flow including Error Recovery |
SENDER | SENDER | ||
Line 856: | Line 854: | ||
protocol. A description of this handshake is presented in section 10. | protocol. A description of this handshake is presented in section 10. | ||
- | | + | === Figure 10: Message Block Level Protocol, CRC mode === |
Each block of the transfer in CRC mode looks like: | Each block of the transfer in CRC mode looks like: | ||
Line 881: | Line 879: | ||
block is the coefficient of X^0 in the message polynomial. | block is the coefficient of X^0 in the message polynomial. | ||
- | Figure 11. | + | ===Figure 11: Example of CRC Calculation written in C === |
The following XMODEM crc routine is taken from " | The following XMODEM crc routine is taken from " | ||
Line 974: | Line 972: | ||
represents the checksum byte. | represents the checksum byte. | ||
- | | + | === Figure 12: Data Flow: Receiver has CRC Option, Sender Doesn' |
SENDER | SENDER | ||
Line 1006: | Line 1004: | ||
2 CRC bytes. | 2 CRC bytes. | ||
- | Figure 13. | + | === Figure 13: Receiver and Sender Both have CRC Option |
SENDER | SENDER | ||
Line 1116: | Line 1114: | ||
implement XMODEM, YMODEM, and ZMODEM with state of the art features and | implement XMODEM, YMODEM, and ZMODEM with state of the art features and | ||
reliability. | reliability. | ||
- | |||
- | |||
- | LIST OF FIGURES | ||
- | |||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | | ||
- | |||
- | Figure 10. Message Block Level Protocol, CRC mode.................... | ||
- | |||
- | Figure 11. Example of CRC Calculation written in C................... | ||
- | |||
- | Figure 12. Data Flow: Receiver has CRC Option, Sender Doesn' | ||
- | |||
- | Figure 13. Receiver and Sender Both have CRC Option.................. | ||
- | |||
===== See Also ===== | ===== See Also ===== |