WP 34S Owner‘s Manual
Edition 2.2
Page 97 of 103
g. To get your calculator back in business, start the "Boot from flash" script in SAM-BA
–
the same procedure you should know from flashing the firmware.
h. Reset and press
to power up. Restore with
+
. If RAM is lost (most
probably due to an accidental press of the ERASE button on the cable), the most re-
cent backup (i.e. the one of step a. here) will be automatically restored.
2. From PC to calculator:
a. Execute steps 1.a + b.
b. Set the start address to
0x11F800
.
c. Point SAM-BA to your
wp34s.dat
file from the emulator.
d. You can now send the short file with SAM-BA.
e. Execute steps 1.g + h.
The program regions accessible with the commands PSTO, PRCL and P
are stored at ad-
dresses mentioned in the table above and have a length of
0x400
(1 kB) each. The emulator
creates files
wp34s-
n
.dat
, with
n
being the region number. You can handle these files the
same way as the complete state file from the emulator. The regions have identical formatting
and can be swapped by copying their data to the
‗wrong‘ place. The register and state portion of
the backup area at
0x11FC00
is formatted differently.
If you want to get your emulator data from your PC into your calculator all in once, do the follow-
ing in Windows:
copy /b calc.bin+wp34s-5.dat+wp34s-4.dat+ …
+wp34s-1.dat+wp34s.dat calc-full.bin
As an alternative, the following will copy the backup data instead of the RAM state file:
copy /b calc.bin+wp34s-5.dat+wp34s-4.dat+ …
+wp34s-1.dat+wp34s-0.dat+wp34s-R.dat calc-full.bin
The resulting file can be transferred into flash and all data will be readily available.
Data Transfer Between Your WP 34S and Your PC (Serial I/O)
You will need the special interface cable mentioned above once again, or a
modified 20b or 30b
as described elsewhere. Said special cable draws current from the batteries of your calculator; it
shall thus be disconnected from your WP 34S as soon as not needed anymore.
Communication is between your WP 34S and another WP 34S. The Windows emulator counts
as a valid partner so you can exchange data between your WP 34S and the PC. Since PCs tend
to have more than one port you have to tell the emulator which one to use. Create a text file
wp34s.ini
in the directory where the state files
wp34s.dat
reside and put the name of the
port as the only line in this file, e.g.
COM5:
– the very same port SAM-BA uses to access your
WP 34S for flashing.
The following commands allow for sending programs, registers or all RAM. They are found in the
P.FCN catalog.
On the receiving device, start the command RECV. It will display
.
On the sender you have four choices:
1. SENDP will send the user program space. After successful termination, the receiver will
display
.