Page 1 of 2

Question about updating the firmware on the DM42 calc.

Posted: Mon Sep 07, 2020 10:18 am
by svarre69
Hi everyone

I have a question about firmware updating the DM42 calculator.

Does the update leave the calculator to factory defaults after the update has been applied?

Because I have a lot of loaded programs, customizations and functions, which it will take quite a time to manually restore to their original state as they were in before the update.

I know about the state file, but the state file only contains basic settings as far as I know. Not programs, functions etc..

If the update is straight forward, like on the iPhone, I will consider doing it. But if not - the update is not nescessary to me.

All the best
Peter

Re: Question about updating the firmware on the DM42 calc.

Posted: Mon Sep 07, 2020 10:36 am
by DA74254
The state file will load the programs, provided they are stored in the calc.

I don't know about functions and such, but would think statefile restore them as well. On my last update, the statefile loaded all I had set up, including the items in the stack.

I normally store/set a new statefile every time just before I update and the last time I forgot to clear the stack, thus, tat came loaded as well.

Re: Question about updating the firmware on the DM42 calc.

Posted: Mon Sep 07, 2020 3:33 pm
by rprosperi
The state file contains ALL programs, variables, settings, stack, registers, etc.. in fact everything that is in the 'state' of the device, hence the name.

Yes, save a state file immediately prior to a f/w update, then restore that state file immediately after the update. Doing so adds less than 30 seconds to the process.

Re: Question about updating the firmware on the DM42 calc.

Posted: Mon Sep 07, 2020 9:55 pm
by toml_12953
rprosperi wrote:
Mon Sep 07, 2020 3:33 pm
The state file contains ALL programs, variables, settings, stack, registers, etc.. in fact everything that is in the 'state' of the device, hence the name.

Yes, save a state file immediately prior to a f/w update, then restore that state file immediately after the update. Doing so adds less than 30 seconds to the process.
Why not have the update process do that? I'm lazy! :)

Re: Question about updating the firmware on the DM42 calc.

Posted: Mon Sep 07, 2020 10:33 pm
by ijabbott
I think whichever state file was last saved or loaded before an update gets reloaded automatically after an update.

Re: Question about updating the firmware on the DM42 calc.

Posted: Mon Sep 07, 2020 11:05 pm
by rprosperi
It's 6 keystrokes guys, so I'll presume you're both kidding. :mrgreen:

Re: Question about updating the firmware on the DM42 calc.

Posted: Mon Sep 07, 2020 11:38 pm
by HPMike
ijabbott wrote:
Mon Sep 07, 2020 10:33 pm
I think whichever state file was last saved or loaded before an update gets reloaded automatically after an update.
The STATE.f42 file that has been saved is automatically loaded after an update. State files saved with other names are NOT loaded.

Re: Question about updating the firmware on the DM42 calc.

Posted: Tue Sep 08, 2020 1:16 am
by rprosperi
HPMike wrote:
Mon Sep 07, 2020 11:38 pm
ijabbott wrote:
Mon Sep 07, 2020 10:33 pm
I think whichever state file was last saved or loaded before an update gets reloaded automatically after an update.
The STATE.f42 file that has been saved is automatically loaded after an update. State files saved with other names are NOT loaded.
Confirmed, though I either never knew or forgot this. I also don't see it the User Manual, or in a previous thread here, so is this something you just discovered?

Re: Question about updating the firmware on the DM42 calc.

Posted: Tue Sep 08, 2020 1:41 am
by toml_12953
rprosperi wrote:
Mon Sep 07, 2020 11:05 pm
It's 6 keystrokes guys, so I'll presume you're both kidding. :mrgreen:
I certainly was!

Re: Question about updating the firmware on the DM42 calc.

Posted: Tue Sep 08, 2020 2:39 am
by HPMike
rprosperi wrote:
Tue Sep 08, 2020 1:16 am
HPMike wrote:
Mon Sep 07, 2020 11:38 pm
ijabbott wrote:
Mon Sep 07, 2020 10:33 pm
I think whichever state file was last saved or loaded before an update gets reloaded automatically after an update.
The STATE.f42 file that has been saved is automatically loaded after an update. State files saved with other names are NOT loaded.
Confirmed, though I either never knew or forgot this. I also don't see it the User Manual, or in a previous thread here, so is this something you just discovered?
This is the way it has been as far as I can remember, since it has been possible to update the firmware directly from the DM42's flash drive.