The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

WP34 S 2.1 released on SourceForge
Message #1 Posted by Marcus von Cube, Germany on 2 Aug 2011, 7:00 a.m.

We've updated the release package on SourceForge. As usual, it's still a beta package.

Serial I/O should now reliably work on devices without a crystal installed. If your calculator is a bit on the slow side, just enter 95 or some such as the percentage value for the real speed compared to the nominal speed before you use one of the serial I/O commands like RECV or SENDP. Values between 80 and 120 are valid. Other values are ignored, as is generally the case on the emulator or with the crystal installed and activated.

To determine the speed, time a short loop CLx; INC X; BACK 01 for 30 seconds. The result should be about 191000. To get the correction factor for your calculator, divide the actual value by 1910.

      
Re: WP34 S 2.1 released on SourceForge - installing the library
Message #2 Posted by Marcus von Cube, Germany on 2 Aug 2011, 4:23 p.m.,
in response to message #1 by Marcus von Cube, Germany

You may have noticed that the commands 'TVM' and 'WHO' had to be removed from the image due to space reasons. But not all is lost! Leave the calculator connected to the cable and transfer the newly available library file wp34s-1.dat via the serial interface:

Start the emulator with the file in its directory so it is automatically installed in region 1. CAT should show a bunch of alpha labels. A file wp34s.ini needs to be in the same directory with the name of the COM port in the first line of the file. Mine reads COM9: which is the same port that is used by SAM-BA. Quit SAM-BA before you attempt to use serial I/O on the emulator.

Now start RECV on the calculator. It's located in P.FCN as are the other I/O commands. If you have the crystal modification installed, activate it first for better reliability, if not you may need to provide a speed correction factor in X as mentioned in the previous post.

On the emulator, the new command SENDL with an argument of 1 for the library region sends the file to the calculator. "OK" should be displayed on the emulator and "Program" on the calculator. Disconnect the cable after the successful transfer as it draws power from the batteries.

Now issue the command PSTO 1 (or any other area) to save the library in flash. The program memory may be cleared for your own use thereafter.

Enjoy!

P.S.: My modified WP 34S (a former 30b) with its FTDI 3.3V cable worked perfectly fine with SAM-BA and the I/O commands. No need to connect the programming cable. Just a paper clip for the necessary reset after flashing was needed. :-)

Edit 1: I've heard of a case where the calculator runs only at 80% nominal speed and is unable to communicate via the interface. I'd be interested to hear from your experiences.

Edit 2: The serial commands have moved from X.FCN to P.FCN in the most recent upload as of today.

Edited: 3 Aug 2011, 6:38 a.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall