[...]
XMODEM breaks the data into 65536 packets of 1024 bytes, and reads a
single byte (ACK) from the target after each packet. The internal packet buffer is larger than 1 byte, so the chip waits for the latency timer
period before transfering this ACK to the host. This adds 65536 × 16 milliseconds = 17 minutes, which matches the performance I saw!
[...]
XMODEM breaks the data into 65536 packets of 1024 bytes, and reads a
single byte (ACK) from the target after each packet. The internal packet
buffer is larger than 1 byte, so the chip waits for the latency timer
period before transfering this ACK to the host. This adds 65536 x 16
milliseconds = 17 minutes, which matches the performance I saw!
Well, that's slightly problematic (and something to keep tabs on, if I
ever use FTDI chips for a project). Granted, I'm kind of "cheap", and
those chinese CH-whatever chips one picks up from sparkfun (etc) seem to
work just fine; although I can't say I've ever utilized xmodem in my
little projects.
Dan Purgert <dan@djph.net> wrote:
[...]
XMODEM breaks the data into 65536 packets of 1024 bytes, and reads a
single byte (ACK) from the target after each packet. The internal packet >>> buffer is larger than 1 byte, so the chip waits for the latency timer
period before transfering this ACK to the host. This adds 65536 x 16
milliseconds = 17 minutes, which matches the performance I saw!
Well, that's slightly problematic (and something to keep tabs on, if I
ever use FTDI chips for a project). Granted, I'm kind of "cheap", and
those chinese CH-whatever chips one picks up from sparkfun (etc) seem to
work just fine; although I can't say I've ever utilized xmodem in my
little projects.
Aren't those Chinese chips often FTDI clones? Hence the disaster a
few years ago when the Windows FTDI drivers were updated and broke compatibility with the cloned chips, causing everyone's bargain
basement USB serial adapters to stop working.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 388 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:25:11 |
Calls: | 8,220 |
Calls today: | 18 |
Files: | 13,122 |
Messages: | 5,872,261 |
Posted today: | 1 |