HP Forums
HP48sx data transfer via serial port - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP48sx data transfer via serial port (/thread-23221.html)



HP48sx data transfer via serial port - Stephen - 10-18-2002

I am attempting to transfer data to/from my HP48sx calculator via kermit running under either Windows/DOS or Linux. It does not work.

On a different computer running the same software (in a DOS prompt), the transfer works fine, so I am certain that the HP48 and the cable are not damaged. Instead, it is a problem with my serial port setup on the computer.

On the other computer (the one that works fine), I use a DOS based kermit and the commands:

set port com1

set speed 9600

set parity none

-- then I send the file and all is fine.

It does not work fine on my home computer. However, if I copy a text file to the com port I can see that the data packets will arrive:

HP48: open the connection (I/O -> OPENI)

Linux: cp test /dev/ttyS0

HP48: I/O -> BUFL

HP48: drop

HP48: I/O -> SRECV

-----------------

More information:
(in Linux)

setserial -g /dev/ttyS*

/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3

/dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 4

/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

ttyS0 = com1, ttyS1= com2, ttyS2 = com3, ttyS3 = com4

I have a modem on com2. Com1 and com3 are physical ports on the back of the computer. There is nothing attached to com3.
I do not require the modem, since I use a network card for internet connectivity.

Any ideas on how the get the data transfers via kermit to function properly?

Stephen


Re: HP48sx data transfer via serial port - Vieira, Luiz C. (Brazil) - 10-18-2002

Hi;

Which port is your mouse connected to? Both pairs Com1/Com3 and Com2/Com4 share the same interruption request (4 and 3 respectively). I had problems with that under Windows, but plain DOS worked fine (no mouse). Try loging in an unused terminal and keep text mode; maybe this will work, too.

Anyway, have you tried to connect two computers using this serial port? I used Kermit under DOS, but I did not run it under Linux; this way you can check for comms under Linux in a diferent way.

Success.


Re: HP48sx data transfer via serial port - Stephen - 10-19-2002

My mouse is connected to the PS/2 port. It should nat have any effect upon the COM/ttyS* ports.

I have tried to do the file transfers in Windows, DOS, Linux (X) amd Linux (console mode - no gpm/mouse running). The result does not change... the software and the calculator just keep on retrying until they time out.


Re: HP48sx data transfer via serial port - John - 10-19-2002


More information: (in Linux)

setserial -g /dev/ttyS*

/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3

/dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 4

/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

ttyS0 = com1, ttyS1= com2, ttyS2 = com3, ttyS3 = com4

I have a modem on com2. Com1 and com3 are physical ports on the back of the computer. There is nothing attached to
com3. I do not require the modem, since I use a network card for internet connectivity.

Any ideas on how the get the data transfers via kermit to function properly?

I would say you have an IRQ conflict. Go into your BIOS and disable COM3 - ttyS2 and try again.

Cheers


Re: HP48sx data transfer via serial port - Vieira, Luiz C. (Brazil) - 10-20-2002

Hi;

I have a PC running Linux and another one to run whatever I want to (both are PII 233MHz, 64MRAM, one with a 4GBytes HD, the other wiht an 8GB). Let me know which Linux you are running and, if you can, let me know where to download "Kermit for Linux" from OR send me a zipped file with it. I'll try it from here.

Anyway, if you have success, let us know, too.

Cheers.


Re: HP48sx data transfer via serial port - Glen Kilpatrick - 10-20-2002

There must be *many* places to download kermit from, but I refer you to it's home, Columbia University ---

http://www.columbia.edu/kermit/

However, its unix section reminds me that kermit may be included in "free" distributions. Are you sure you don't already have a "local copy", on your install CDs?


Re: HP48sx data transfer via serial port - Stephen - 10-20-2002

As John has suggested, I think I have an IRQ conflict. Linux is not the problem, nor is the distribution. I have a 486 with the same Linux distribution installed (Debian Woody) and everything works fine on it.

fyi: I'm using ckermit.

I will try to resolve the conflict when I find the time to do so. Thanks for the replies.