background image

2

SwissMicros • Save and restore state

Save and restore state 

 

Here we cover how to save and restore the calculator 
“state”, which includes the complete contents of what 
HP called the “continuous memory” (stack, registers, 
programs, etc).

The following requires that you have completed the steps 
on page 1 “Serial connection”.

Saving calculator memory

1.  with serial monitor window open, put calculator

 

in 

Serial  Console  

mode : turn calculator off, then

 

press and hold the alpha key 

  C  

, press 

 ON 

 briefly, 

and then release alpha key 

  C  

2.  the monitor window returns (for the DM-41 model) :

 

  DM41 turned on

    DM41 ready

3.  to dump contents of calculator memory, enter :

 

 s

4.  the memory dump appears under the prompt
5.  this dump can be copied, pasted and saved to a text file 

(including the short line at the top which describes the 
calculator model) to be later restored to the calculator

Restoring calculator memory

1.  with the monitor window open, ready the calculator

 

by entering :

 

 

l

 (lowercase «L»)

2.  the command prompt changes to :

 

  Waiting for data...

3.  copy all characters from the memory dump, including 

the short line at the top which describes the calculator 
model

4.  paste this in the monitor window *
5.  monitor window outputs :

 

  Read OK 

and the command prompt returns to (for the DM-41 
model) :

 

 DM41>>

6.  calculator memory is now restored

Set time and date 

Here we cover how to set the internal clock and calendar 
of the calculator. As a reminder, you can display the 
internal clock and calendar on the calculator’s LCD display 
so : turn calculator off, then press and hold the alpha 
key 

  A  

 , press 

 ON 

 briefly, and then release alpha key 

  A  

 .

 

The following requires that you have completed the steps 
on page 1 “Serial connection”.

Getting calculator internal date and time

1.  in the serial monitor window, enter :

 

 

t

2.  the monitor window returns date, time and day of the 

week in format :

 

 

YYYY-MM-DD HH:MM:SS DDD

Setting date and time

1.  the command to set date and time is

 

 

ts

2.  and the arguments to the command are formatted so :

 

  ts <YYYYMMDD> <HHMMSS>

3.  for instance for September 22

 nd

 of 2016, 6:30 PM, 

enter the following command :

 

  ts 20160922 183000

4.  date and time are now set

* PuTTY defaults the paste command to the right mouse button in 
Windows ; check configuration in 

Window

  

 

Selection

http://www.swissmicros.com

Guide v1.63 by Emy Amstein

Отзывы: