English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.Amiga Forever (http://eab.abime.net/forumdisplay.php?f=109)
-   -   serial communication between Amiga and PC (http://eab.abime.net/showthread.php?t=101389)

TCH 22 March 2020 19:08

serial communication between Amiga and PC
 
I'm trying to set up a nullmodem connection between my A500+ and my Linux PC. I've built a cable with this wiring:
http://www.amigaforever.com/gfx/null...iring_9-25.gif
I've double checked the cable with an electronic contact-checker and the wiring is according to the image's numbers.

Then i had set up the Amiga with the following values
Code:

baud=9600
buffer=512
handshake=RTS/CTS
parity=none
rbits=8
wbits=8
stopbits=1

Then ran the following command on Linux:
Code:

stty 9600 -parenb cs8 crtscts -ixon -ixoff raw iutf8 -F /dev/ttyS0
Then i run a shell on both the Amiga and the Linux and gave this command
Type SER:
on the Amiga and this one on Linux
cat sertest.txt > /dev/ttyS0
but nothing happened. The Amiga keeps waiting forever, the Linux gave back the prompt after a while.

Anybody has any idea, what could go wrong?

Misclegend 22 March 2020 23:03

why you are using linux for this which is far more complicated
use windows +amiga explorer, this works on the fly you won't need to ask questions here

TCH 23 March 2020 10:44

Linux is actually not important, it could be BSD, Solaris, OSX or whatever, even windows. What matters, is that i'm trying to set up a simple nullmodem connection between the two machines to interchange some data. Something is not OK and the question is what and why. Is it the wiring? The setup on the PC side? On the Amiga side? Something else? These are the questions.
Amiga explorer is absolutely irrelevant here, because that is not what i want to do.

TCH 23 March 2020 16:19

Okay, solved it. Somewhy the system recognized the two serial ports in reverse order and port A became ttyS1 and port B ended up as ttyS0.

fxgogo 23 March 2020 16:45

How is your speed when moving between the two machines? I remember wiring up my own cable for use with Amiga Explorer. I would think the wiring scheme would be the same. Definitely would like to give this a go on my Pop Os machine

TCH 23 March 2020 17:39

It's working flawlessly with 19200 baud. However during experimenting, i rewired things, because i had no idea what was wrong. Now it's a PC-PC (DB9-DB9) serial cable plus a DB9-DB25 adaptor on the Amiga side. But that DB25-DB9 cable wiring above should work too.

Misclegend 24 March 2020 00:00

Quote:

Originally Posted by fxgogo (Post 1387071)
How is your speed when moving between the two machines? I remember wiring up my own cable for use with Amiga Explorer. I would think the wiring scheme would be the same. Definitely would like to give this a go on my Pop Os machine

the serial transfer in the Amiga is very cpu intensive so the speed between pc and Amiga via serial depends which cpu you have on the Amiga

The standard Amiga 500/68000 cpu can transfer at max 19200
The A1200 standard can transfer at 57600
having a 020/28mhz or 030/25 or faster accel Amiga explorer transfer files at 115200 flawlessly


All times are GMT +2. The time now is 23:22.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.04736 seconds with 11 queries