Re: Designing a protocol for the first time
- From: CC <crobc@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 07 Mar 2008 13:24:25 -0800
Keith M wrote:
CBFalconer wrote:
If you are going to consider X-modem, try Z-modem. Much better
error control, speed, etc. Uses the same transmission paths.
Sorry to pick on your idea CBF.
Xmodem is considerably easier to implement than Zmodem. I implemented Xmodem when I was about 10 or 11 years old, first in Basic, and then in C.
That's the sort of thing I can deal with!
I remember Zmodem when it was first released, and it was great. Big improvement over Xmodem and Ymodem, lots of extra features and functionality. But it was also a lot more complex. Sliding windows, automatic recovery, big checksums, transfer of filenames, etc etc.
I'm not necessarily advocating anything for your particular application, just wanted to point out that using Zmodem might not be a slam dunk.
I wouldn't have considered Zmodem for my app.
Oh, and regarding FTDI chips. Their chips, drivers, and support are all top notch. I'm using their FT232BM chip at 2mbps, and it works reliably. I started using their VCP drivers, which work very well. I eventually switched to using their D2XX .dll drivers, because it offers more fine-grain control.
Be sure to download the datasheets, app notes, and tips on their website, especially when they talk about latency, baud rates, etc.
Thanks for the input to the thread!
--
_____________________
Christopher R. Carlen
crobc@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SuSE 9.1 Linux 2.6.5
.
- References:
- Designing a protocol for the first time
- From: CC
- Re: Designing a protocol for the first time
- From: Jim Stewart
- Re: Designing a protocol for the first time
- From: Chris Carlen
- Re: Designing a protocol for the first time
- From: CBFalconer
- Re: Designing a protocol for the first time
- From: Keith M
- Designing a protocol for the first time
- Prev by Date: Re: Maximum speed, all ports as I/O
- Next by Date: Re: Microcontroller with QVGA or VGA LCD controller
- Previous by thread: Re: Designing a protocol for the first time
- Next by thread: Re: Designing a protocol for the first time
- Index(es):