Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Are we running light with overbyte?


devel / comp.os.cpm / Re: Linux -> CP/M XMODEM transfer timeout

SubjectAuthor
* Re: Linux -> CP/M XMODEM transfer timeoutIvan Ilyichev
+- Re: Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
`* Re: Linux -> CP/M XMODEM transfer timeoutPaolo Amoroso
 `- Re: Linux -> CP/M XMODEM transfer timeoutIvan Ilyichev

1
Re: Linux -> CP/M XMODEM transfer timeout

<6ecf08b4-2a19-469e-902c-0e16bd593810n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5284&group=comp.os.cpm#5284

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:ac8:5ad4:0:b0:429:b4f3:6167 with SMTP id d20-20020ac85ad4000000b00429b4f36167mr19317qtd.2.1704973980118;
Thu, 11 Jan 2024 03:53:00 -0800 (PST)
X-Received: by 2002:a05:622a:315:b0:429:c95b:a7bc with SMTP id
q21-20020a05622a031500b00429c95ba7bcmr2146qtw.2.1704973979780; Thu, 11 Jan
2024 03:52:59 -0800 (PST)
Path: i2pn2.org!rocksolid2!news.neodome.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Thu, 11 Jan 2024 03:52:59 -0800 (PST)
In-Reply-To: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=95.165.204.38; posting-account=TGADwAoAAACaBbwR6SgP2LeP2F1zOpTB
NNTP-Posting-Host: 95.165.204.38
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6ecf08b4-2a19-469e-902c-0e16bd593810n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: ilyichev.ivan@gmail.com (Ivan Ilyichev)
Injection-Date: Thu, 11 Jan 2024 11:53:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3707
 by: Ivan Ilyichev - Thu, 11 Jan 2024 11:52 UTC

вторник, 21 июня 2022 г. в 19:15:14 UTC+3, Paolo Amoroso:
> I'm troubleshooting a file transfer issue with sending files via XMODEM from a Linux system to a Z80-MBC2[1] CP/M system. The Z80-MBC2 is a great 8 MHz Z80 homebrew computer kit that can boot a number of operating systems, including CP/M 2.2 and CP/M 3.0.
>
> On the Z80-MBC2, under CP/M 3.0 I execute the command XMODEM TEST.TXT /R. Then, on the Linux side, from a Minicom session I initiate a file transfer and select the TEST.TXT file. Minicom shows these status messages, nothing happens, and the file is not transferred:
>
> Xmodem sectors/kbytes sent: 0/ 0k
> Retry 0: Timeout on sector ACK
> Retry 0: Timeout on sector ACK
> Retry 0: Timeout on sector ACK
> ...
>
> However, I can successfully transfer to the board very short files, e.g. a few tens of bytes. Transferring files from the board to Linux works fine.
>
> XMODEM TEST.TXT /X0 /R doesn't help, as well as changing Minicom's XMODEM send command to sx -B 128 -vv.
>
> Although the Z80-MBC2 requires a recent firmware version to make XMODEM transfers to the Z80 board work[2], I have the right version and the issue may be unrelated. I'm also reasonably sure it's not something hardware related, as I got a professionally assembled and tested Z80-MBC2 unit.
>
> Any insight, advice, or troubleshooting steps to suggest?
>
> Some more details on my setup. The Z80-MBC2 is connected via serial USB (115200 bps, 8N1, no hardware flow control; only 115200 bps supported) to an i7 ASUS Chromebox 3. I control the Z80 from the Minicom terminal emulator under Crostini, which is the Linux container of chromeOS.
>
>
> [1] https://hackaday.io/project/159973-z80-mbc2-a-4-ics-homebrew-z80-computer
> [2] https://hackaday.io/project/159973-z80-mbc2-a-4-ics-homebrew-z80-computer/log/160375-new-ios-for-xmodem-support

Hi! If the problem still exists. I wrote special version of XModem software for PC (both for Linux and Windows, might be compiled via Lazarus 3.0) than impements an adjustable delay after each byte, sent to remote CP/M computer. It lets CP/M with fast UART chip like Z80DART or Z80SIO, working at 115..2 kbps or faster, receive files without errors. At CP/M side i tested XMODEM.COM and QTERM.COM, both work ok. The repo is here: https://github.com/ivang78/xmodem .

Re: Linux -> CP/M XMODEM transfer timeout

<20240111171950.44801b35@penguin>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5285&group=comp.os.cpm#5285

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: info@paoloamoroso.com (Paolo Amoroso)
Newsgroups: comp.os.cpm
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Date: Thu, 11 Jan 2024 17:19:50 +0100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <20240111171950.44801b35@penguin>
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<6ecf08b4-2a19-469e-902c-0e16bd593810n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="95770a64f4ca23a81ed055354c559b1a";
logging-data="3217276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kjzibmpvgUhSBcN6+GhrO"
Cancel-Lock: sha1:JPEZRLKPmb41mJY501pxrcmanpI=
X-Newsreader: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: Paolo Amoroso - Thu, 11 Jan 2024 16:19 UTC

On Thu, 11 Jan 2024 03:52:59 -0800 (PST)
Ivan Ilyichev <ilyichev.ivan@gmail.com> wrote:

> Hi! If the problem still exists. I wrote special version of XModem
> software for PC (both for Linux and Windows, might be compiled via
> Lazarus 3.0) than impements an adjustable delay after each byte, sent
> to remote CP/M computer. It lets CP/M with fast UART chip like

Thanks, I'll definitely check it out.

Re: Linux -> CP/M XMODEM transfer timeout

<20240112141325.5a026968@penguin>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5286&group=comp.os.cpm#5286

  copy link   Newsgroups: comp.os.cpm
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: info@paoloamoroso.com (Paolo Amoroso)
Newsgroups: comp.os.cpm
Subject: Re: Linux -> CP/M XMODEM transfer timeout
Date: Fri, 12 Jan 2024 14:13:25 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <20240112141325.5a026968@penguin>
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<6ecf08b4-2a19-469e-902c-0e16bd593810n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="21e5873c68780aafe3e490891e2fb522";
logging-data="3653165"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19J+hzHTTXYCtPGZAv9ESYD"
Cancel-Lock: sha1:79EvOUU47ZB52yavDNdiHi8SIEA=
In-Reply-To: <6ecf08b4-2a19-469e-902c-0e16bd593810n@googlegroups.com>
X-Newsreader: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
 by: Paolo Amoroso - Fri, 12 Jan 2024 13:13 UTC

On Thu, 11 Jan 2024 03:52:59 -0800 (PST)
Ivan Ilyichev <ilyichev.ivan@gmail.com> wrote:

> work ok. The repo is here: https://github.com/ivang78/xmodem .

The supplied Linux binary requires glibc 2.34 while my Linux
system based on Debian Bullseye provides version 2.31.

So I guess I need to build XMODEM from source with Free Pascal, right?
Do I need the full Lazarus or is Free Pascal enough?

Re: Linux -> CP/M XMODEM transfer timeout

<87cbc1dc-ded8-4a7d-b40b-1dda6759b0a2n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=5288&group=comp.os.cpm#5288

  copy link   Newsgroups: comp.os.cpm
X-Received: by 2002:a05:622a:1998:b0:429:b4ab:ee1d with SMTP id u24-20020a05622a199800b00429b4abee1dmr49170qtc.10.1705408365079;
Tue, 16 Jan 2024 04:32:45 -0800 (PST)
X-Received: by 2002:a05:622a:104d:b0:429:c9fd:2a79 with SMTP id
f13-20020a05622a104d00b00429c9fd2a79mr154638qte.7.1705408364793; Tue, 16 Jan
2024 04:32:44 -0800 (PST)
Path: i2pn2.org!i2pn.org!news.nntp4.net!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.cpm
Date: Tue, 16 Jan 2024 04:32:44 -0800 (PST)
In-Reply-To: <20240112141325.5a026968@penguin>
Injection-Info: google-groups.googlegroups.com; posting-host=95.165.204.38; posting-account=TGADwAoAAACaBbwR6SgP2LeP2F1zOpTB
NNTP-Posting-Host: 95.165.204.38
References: <1e84d63c-23cb-418a-944c-fd53b99c3524n@googlegroups.com>
<6ecf08b4-2a19-469e-902c-0e16bd593810n@googlegroups.com> <20240112141325.5a026968@penguin>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <87cbc1dc-ded8-4a7d-b40b-1dda6759b0a2n@googlegroups.com>
Subject: Re: Linux -> CP/M XMODEM transfer timeout
From: ilyichev.ivan@gmail.com (Ivan Ilyichev)
Injection-Date: Tue, 16 Jan 2024 12:32:45 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Ivan Ilyichev - Tue, 16 Jan 2024 12:32 UTC

Hi Paolo!

(I repeat mail message, may be useful for all)

To compile binary for your system:
At first you must install Freepascal and Lazarus IDE from its site:
https://www.lazarus-ide.org/index.php?page=downloads
Then install Lazserial component
https://github.com/JurassicPork/TLazSerial/ as described at its
readme. It is necessary to work with COM port.

> > work ok. The repo is here: https://github.com/ivang78/xmodem .
> The supplied Linux binary requires glibc 2.34 while my Linux
> system based on Debian Bullseye provides version 2.31.
>
> So I guess I need to build XMODEM from source with Free Pascal, right?
> Do I need the full Lazarus or is Free Pascal enough?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor