|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.
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.