HP48sx data transfer via serial port



#4

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


#5

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.


#6

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.


#7

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.


#8

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?

#9

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.

#10


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


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP-41 module covers and side port cover Nate Martin 1 530 12-02-2013, 01:51 AM
Last Post: Giancarlo
  Sheet data importer for HP Prime Marek Russ 4 656 11-15-2013, 04:55 AM
Last Post: debrouxl
  Entering,Saving,and Analysis /Fitting X Y Data on the Prime Harold A Climer 6 932 10-26-2013, 01:54 PM
Last Post: Tim Wessman
  HP PRIME: How to change the column headers and reset data Joseph Ec 5 766 10-18-2013, 02:26 PM
Last Post: Joseph Ec
  HP Prime data sharing Alberto Candel 5 751 10-06-2013, 07:49 PM
Last Post: Alberto Candel
  Yet another benchmark port on the wiki: Savage Pier Aiello 35 3,150 09-26-2013, 03:22 AM
Last Post: Pier Aiello
  41CL :TROUBLE IN FILE TRANsFER aurelio 22 2,224 06-18-2013, 03:44 PM
Last Post: aurelio
  HP 50G serial port programming Chris Smith 2 520 06-15-2013, 02:47 PM
Last Post: Chris Smith
  Printing HP 9825 data Norman Pillsbury 3 586 06-01-2013, 10:08 PM
Last Post: David Ramsey
  OT: RPN port to Casio fx-cg10/20? Matt Kernal 4 693 04-30-2013, 12:16 PM
Last Post: hugh steers

Forum Jump: