HP41 program storage



#4

Is there a method of writing and reading an HP41 program using the HP-IL module to an RS-232 port connected to an IBM-PC, so it can be recalled into calculator memory?
I am looking to replace my aged cassette tapes and card reader with storage on a CD-R, so I'd like to find something equivalent to WRTP and READP that would work over the RS-232 link. Perhaps a binary image could be written using synthetic programming and the PPC-ROM?
-Jay-


#5

Yes. You can use the Extended I/O HP82183A. The functions INP and OUTP are made for that. I use mine with an HP82169A IL/IB interface and HP82335A on PC. I recover or send data to/from PC using HP Interactive HP-IB software. But with HP82164 RS232c interface, you can use Win 3.1 Terminal.exe, Procomm, ...


#6

Many thanks for the tip on using INP and OUTP!
My IL knowledge is pretty rusty after 15 years of neglect, but I have the Extended I/O HP82183A, an HP62160A IL module, a HP82164A RS-232 unit, and even have a copy of Procomm!
-Jay-


#7

First set your HP82164A and Procomm lines correctly
.
Please refer to the interface user's manual.
On PC by Alt P, enter for instance 11 (9600,N,8,1), choose you COM port, ...
Saving to PC:
On PC, down 2x arrow (DOWNLOAD), 7) ASCII, File Name, ENTER
On HP-41, ALPHA program name ALPHA XEQ'OUTP
Getting from PC:
On HP-41, ALPHA program name ALPHA XEQ'INP
On PC, up 2x arrow (UPLOAD), 7) ASCII, File Name, ENTER
To be continued ...

#8

Hi Emmanuel,
Well, I have some success to report, using Procomm or Hyperterminal I can capture a hex file version of a program by using the command OUTP. However, INP shows READ ERR on the 41c. Any suggestions?
-Jay-


#9

I think the buffer of HP82164A is too small. Please take a speed under 9600. Try 4800, 2400, 1200, 600 and worst 300. Let me know if OK.


#10

I dropped the speed of the interface to 300 baud, and now see GOTO, PACKING, TRY AGAIN when I try to receive the hex file.
Both sides of the RS-232 interface are set at 300, N, 8, 1.
The file I'm trying to receive is 79 lines. The HP41C is empty of programs, has a quad memory module, and I executed SIZE 050, and did a GOTO, PACKING, prior to attempting to receive the file.
-Jay-


#11

You have not enough place in your program memory.
If you have a X-Functions please SAVEP one of your program and then CLP it in program memory. Later you'll GETP it.


#12

Looks like the problem with INP is I'm getting a corrupted download. I tried importing a much smaller hex file at 300 baud, N, 8, 1, the SETRS program that Chris gave as an example (Thanks Chris!), and a few lines were received ok, but there were numerous extra lines with extraneous commands.
I'm at least getting something across the wire, so will try a 7-bit xfer next.
Thanks for all the help!

#13

You might want to turn on flow control on both ends.

This is text from Tony Duell's lifutils hardware setup instructions.

Configuring the interfaces
---------------------------

On the PC, turn off buffering and enable hardware handshaking:

On the HP41, load the SETRS program and run it to set the HP82164
interface to hardware handshake mode and to make it the primary device.
A binary file of this program is given in hardware/setrs.p41 in the
lif_utils distibution, and is given as a listing below :

0001 LBL "SETRS"
0002 66
0003 FINDAID
0004 SELECT
0005 CF 17
0006 REMOTE
0007 "SL2"
0008 OUTA
0009 "LI5"
0010 OUTA
0011 "C0"
0012 OUTA
0013 NOTREM
0014 END

Give this a try. I use my PC with Linux and Tony's lifutils as my storage system for my 41 and 71. Works a treat.

Good luck

Chris


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 854 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  [hp41] reading the catalog under program control Wolfgang 3 573 02-25-2013, 01:32 PM
Last Post: Dan Grelinger
  HP41 Blank formulars for program documentation? Wolfgang 3 531 02-15-2013, 11:08 PM
Last Post: Wolfgang
  HP41 Long term storage Steve Hunt 6 719 09-27-2012, 11:08 PM
Last Post: db (martinez, ca.)
  [hypothetical] adding mass storage functions to a 42S Eric Smith 12 1,148 08-26-2012, 02:20 PM
Last Post: Eric Smith
  HP50G Max SDcard Storage space?? mr-scorpio 9 1,061 08-22-2012, 09:57 AM
Last Post: Bart (UK)
  HP-34C Storage Register Arithmetic & Programming Matt Agajanian 14 1,326 05-08-2012, 11:04 AM
Last Post: Matt Agajanian
  HP-15c data storage Michel Beaulieu 6 726 09-29-2011, 05:00 PM
Last Post: M. Joury
  Long term storage question on 15C LE nick lidakis 4 579 09-12-2011, 01:35 AM
Last Post: Peter Murphy (Livermore)
  Storage and recall arithmetic with the HP35s Palmer O. Hanson, Jr. 10 924 02-07-2011, 01:44 AM
Last Post: Marcus von Cube, Germany

Forum Jump: