Xmodem hangs when sending file from PC to RC2014

379 views
Skip to first unread message

Olev Toom

unread,
Apr 7, 2023, 5:49:41 AM4/7/23
to rc201...@googlegroups.com
Hello all!

Houston, I got a strange problem.
I used my RC2014 intensely in January, when I assembled and tested the RTC card. Wrote couple of small programs to use the RTC, and sent them back and forth between my PC (W10, TeraTerm) and RC2014 (CP/M from ROMWBW). No problems.

Now I started to use the RC2014 again, and found out that I cannot send files from PC to RC any more. The Xmodem program seems to hang after the first (128-byte) block.
Direction RC --> PC still works. Also I can send text from TeraTerm to RC (running pip crt:=rdr: there).
Has someone encountered such problem and/or can indicate, where to start digging?
I use Dominique Meurisse's Picoterm, and updated its software recently. But this did not cause the problem, because returning to previous software did not eliminate the problem.

Thank you for help in advance!
Olev

Richard Deane

unread,
Apr 7, 2023, 6:03:22 AM4/7/23
to rc201...@googlegroups.com
suggestions: 
1) check you have RTS/CTS handshake enabled in Teraterm
2) drop baud rate to 57600 or 38400 and try.
3) clarify whether you are using  SIO or ACIA for serial - I recollect that ACIA may be rougher.
4) There is a newer release of ROMWBW you could try. Can use com flavour of build to test, no need to blow new rom until happy.
5) You could experiment with Phillip Steven's CPM-IDE which I think now supports plain CF card, as it has more robust serial IO code than vanilla RC2014 - Grant Searle's CP/M, not romwbw flavour - that's robust but uses its own flavour of Xmodem (XM)

Cheers
Richard



--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/CAJzoXsnBg7ne_SjCHAB_7JNnuatRR1gMYepYi8RyG5SmT90tXA%40mail.gmail.com.

Olev Toom

unread,
Apr 7, 2023, 7:44:43 AM4/7/23
to rc201...@googlegroups.com
Hello Richard,
thank you very much.

1) yes, RTS/CTS is enabled,
2) will try soon,
3) SIO,
4) I do not want to try new ROMWBW because the older version worked for a long time,
5) see 4).
The most annoying thing is that the problem appeared while (because?) I did nothing.

olev



Richard Deane

unread,
Apr 7, 2023, 7:51:07 AM4/7/23
to rc201...@googlegroups.com
Forgot to mention, make sure your power is adequate. If you have added rtc, perhaps you have a lower and unstable voltage. Perhaps try power over serial from USB3.

Richard 


Derek Cooper

unread,
Apr 7, 2023, 1:32:01 PM4/7/23
to RC2014-Z80
Had the same thing or very similar. It was CTS wire on the FTDI port

Olev Toom

unread,
Apr 12, 2023, 3:02:54 PM4/12/23
to rc201...@googlegroups.com
Hello again,

unfortunately the problem went away without outside help. Maybe restarting the PC did help...
But thank you all for the advice.

olev


Olev Toom

unread,
Jul 29, 2026, 11:51:06 AM (11 days ago) Jul 29
to RC2014-Z80
Hello all!

Recently I bought a new laptop, and of course this could not went unpunished. After 3 years, the Xmodem hangs again, trying to get file from PC. And, as earlier, the transfer from RC2014 to PC works flawless.

Any help is appreciated.  

olev

Wayne Warthen

unread,
Jul 29, 2026, 4:36:55 PM (10 days ago) Jul 29
to RC2014-Z80
I know it has been mentioned previously, but the most likely thing would be that the RTS/CTS setting got lost on your laptop during the transition.

Are you familiar with the technique for testing that RTS/CTS is actually working?

Thanks, Wayne

Olev Toom

unread,
Jul 30, 2026, 2:11:27 AM (10 days ago) Jul 30
to rc201...@googlegroups.com
Hello Wayne, thank you.
Yes, I set the RTS/CTS on Teraterm.
No, I don't know how to test it. Please elucidate (or give a link).
olev


Wayne Warthen

unread,
Jul 30, 2026, 12:19:04 PM (10 days ago) Jul 30
to RC2014-Z80
Basically, you want to send a lot of characters in a pattern to the console and see if they are all echoed back correctly.  If not, RTS/CTS is broken somewhere.  If the echo is good, then RTS/CTS is OK.  The simple way to do this is to simply paste something like the following into the Tera Term console window while at the CP/M prompt.  Using paste will send the whole block of characters as fast as the line will aceept them.

0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ

Here is what you should see if RTS/CTS is working:

B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
No File
B>

If RTS/CTS is not working, the pasted characters come in too fast and you will see a lot of missing characters in the echo.

Thanks, Wayne
Reply all
Reply to author
Forward
0 new messages