Updated the status and moved it towards the end of the README
This commit is contained in:
90
README.md
90
README.md
@@ -56,51 +56,6 @@ through the OR gate, with the other input hooked up to an output pin
|
|||||||
that I could count on remaining high (thereby masking off the Tx signal)
|
that I could count on remaining high (thereby masking off the Tx signal)
|
||||||
until after the sketch had started and set it low.
|
until after the sketch had started and set it low.
|
||||||
|
|
||||||
## Status
|
|
||||||
|
|
||||||
Is a personal project like this ever *really* finished? I've finished
|
|
||||||
the first complete unit and while I don't expect the hardware to change
|
|
||||||
(much), the software is a completely different story. I expect to be
|
|
||||||
tweaking and adding to that for some time to come. However, it's
|
|
||||||
completely usable at the moment.
|
|
||||||
|
|
||||||
### Linux, Telnet, Zmodem and downloading binary files
|
|
||||||
|
|
||||||
Have you used the modem to 'dial' into a Linux box? And have you done a
|
|
||||||
`sz binary_file` on the Linux box? And at a completely reproducible
|
|
||||||
point in the file, has the connection dropped? But other binary files
|
|
||||||
work just fine? Then read on.
|
|
||||||
|
|
||||||
This drove me slightly batty for months. I finally narrowed it down to
|
|
||||||
trying to send blocks of binary data with a large number of FF bytes. I
|
|
||||||
eventually created a test file consisting of 2K of FF and used that to
|
|
||||||
test with. I could download it through the modem with Xmodem just fine.
|
|
||||||
Ymodem also worked if I kept the block size down to 128 bytes - but the
|
|
||||||
connection would drop instantly if I tried sending 1K blocks. Same thing
|
|
||||||
with Zmodem.
|
|
||||||
|
|
||||||
In fact, if I just tried `cat binary_file`, the connection would
|
|
||||||
drop. Which eventually got me thinking. Sitting at the console on my
|
|
||||||
main Linux box, I telnet'd to the same box and logged in. No WiFi modem
|
|
||||||
involved anywhere, just a telnet session on the console to the same box.
|
|
||||||
I then did a `cat binary_file`. The telnet connection dropped, and I
|
|
||||||
was back in my original session.
|
|
||||||
|
|
||||||
It's the Linux telnet daemon. Not the modem at all.
|
|
||||||
|
|
||||||
To prove it to myself, I hooked up WiFi modems to two systems on their
|
|
||||||
serial ports and had one dial into the other. I could send the all FF
|
|
||||||
binary file back and forth with Zmodem and Ymodem, no trouble at all.
|
|
||||||
|
|
||||||
But you really, really need to download that binary file through the
|
|
||||||
modem from a telnet connection to a Linux box? You're not going to be
|
|
||||||
able to use Zmodem. Ymodem will work (the sy command defaults to 128
|
|
||||||
byte blocks), as will Xmodem. But not Zmodem.
|
|
||||||
|
|
||||||
Oddly enough, the telnet daemon has no trouble *receiving* the all FF
|
|
||||||
binary file. Only sending it. Your guess as to why is probably better
|
|
||||||
than mine.
|
|
||||||
|
|
||||||
## The Hardware
|
## The Hardware
|
||||||
|
|
||||||

|

|
||||||
@@ -335,6 +290,51 @@ uart_do_write_char(const int uart_nr, char c)
|
|||||||
This way, no matter how long the code has to wait for space in the
|
This way, no matter how long the code has to wait for space in the
|
||||||
transmit FIFO, the watchdog is kept well fed and quiet.
|
transmit FIFO, the watchdog is kept well fed and quiet.
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
Is a personal project like this ever *really* finished? I've had two
|
||||||
|
units assembled and in use since the spring of 2020, and while there's
|
||||||
|
been some software changes since then, I really don't expect any more.
|
||||||
|
There are no outstanding bugs that I'm aware of, and no new features on
|
||||||
|
my wish list. For the time being at least, I think it's complete.
|
||||||
|
|
||||||
|
### Linux, Telnet, Zmodem and downloading binary files
|
||||||
|
|
||||||
|
Have you used the modem to 'dial' into a Linux box? And have you done a
|
||||||
|
`sz binary_file` on the Linux box? And at a completely reproducible
|
||||||
|
point in the file, has the connection dropped? But other binary files
|
||||||
|
work just fine? Then read on.
|
||||||
|
|
||||||
|
This drove me slightly batty for months. I finally narrowed it down to
|
||||||
|
trying to send blocks of binary data with a large number of FF bytes. I
|
||||||
|
eventually created a test file consisting of 2K of FF and used that to
|
||||||
|
test with. I could download it through the modem with Xmodem just fine.
|
||||||
|
Ymodem also worked if I kept the block size down to 128 bytes - but the
|
||||||
|
connection would drop instantly if I tried sending 1K blocks. Same thing
|
||||||
|
with Zmodem.
|
||||||
|
|
||||||
|
In fact, if I just tried `cat binary_file`, the connection would
|
||||||
|
drop. Which eventually got me thinking. Sitting at the console on my
|
||||||
|
main Linux box, I telnet'd to the same box and logged in. No WiFi modem
|
||||||
|
involved anywhere, just a telnet session on the console to the same box.
|
||||||
|
I then did a `cat binary_file`. The telnet connection dropped, and I
|
||||||
|
was back in my original session.
|
||||||
|
|
||||||
|
It's the Linux telnet daemon. Not the modem at all.
|
||||||
|
|
||||||
|
To prove it to myself, I hooked up WiFi modems to two systems on their
|
||||||
|
serial ports and had one dial into the other. I could send the all FF
|
||||||
|
binary file back and forth with Zmodem and Ymodem, no trouble at all.
|
||||||
|
|
||||||
|
But you really, really need to download that binary file through the
|
||||||
|
modem from a telnet connection to a Linux box? You're not going to be
|
||||||
|
able to use Zmodem. Ymodem will work (the sy command defaults to 128
|
||||||
|
byte blocks), as will Xmodem. But not Zmodem.
|
||||||
|
|
||||||
|
Oddly enough, the telnet daemon has no trouble *receiving* the all FF
|
||||||
|
binary file. Only sending it. Your guess as to why is probably better
|
||||||
|
than mine.
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
* [WiFi232 - An Internet Hayes Modem for your Retro Computer](http://biosrhythm.com/?page_id=1453)<br>
|
* [WiFi232 - An Internet Hayes Modem for your Retro Computer](http://biosrhythm.com/?page_id=1453)<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user