Author: hpfcso.FC.HP.COM [Ray Depew]
  Date: Thu Dec 19 1991

In comp.sys.hp48, robf@mcs213g.cs.umr.edu (Rob Fugina) writes:

> I just bought the serial interface kit, and I can't get anything to work!
> I set the right port, speed, and parity on the computer, and I set the
> 48 to wire, ascii, and the same baud and parity as the computer.  Nothing
> seems to happen!  The only thing that I can get to happen (sometimes) is
> when the computer is in terminal mode and I put the 48 in server mode,
> the computer will receive 4-6 characters (that I recognize as the 48 
> telling the computer it's in server mode).  Is there any way to test the
> connection?  Does the computer's com port need to be set for DCE or 
> something???  HELP!!!!!!!!!!
> 
> Rob   robf@cs.umr.edu

1) To test the connection without Kermit getting in the way, type "connect"
   at the 'Kermit >' prompt on your computer, or use a dumb terminal.

   a) To test the computer->48 connection:
      - press OPENIO on the 48.
      - type HELLO on the computer and press RETURN/ENTER/whatever.
      - press BUFLEN on the 48 (last pg. of the I/O menu).
      - you should see two numbers on the stack.  
        Level 1 is a flag:  1 := data transferred o.k.
                            2 := framing error or UART overrun
        Level 2 is the number of characters received from the computer.
      - press DROP to remove the flag and put the # of char's into Level 1.
      - press SRECV on the 48 (last pg. of the I/O menu).
      - you should see two numbers on the stack.
        Level 1 is a flag:  1 := data transferred o.k.
                            2 := unsuccessful receive.  (press ERRM for
                                 more detail)
        Level 2 should be the string received from the computer.
    
    b) To test the 48->computer connection:
       - (Assuming you already pressed OPENIO)
       - put a string like "HI BACK" on Level 1 of the 48.
       - press XMIT on the 48 (last pg. of the I/O menu).
       - if data transfer is successful, you will see a 1 on Level 1.
       - if part of the string failed to transmit, you will see a 0 on
         Level 1 and the unsent portion of the string on Level 2.

2) Remember to press CLOSEIO when you've finished.

Regards
Ray Depew
Hewlett Packard Co, Fort Collins, Colorado
rrd@hpfitst1.fc.hp.com
