Question about updating the firmware on the DM42 calc.

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
svarre69
Posts: 9
Joined: Tue Oct 01, 2019 2:09 pm

Question about updating the firmware on the DM42 calc.

Post by svarre69 » Mon Sep 07, 2020 10:18 am

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

DA74254
Posts: 73
Joined: Tue Oct 03, 2017 11:20 pm
Location: Norway/Latvia

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

Post by DA74254 » Mon Sep 07, 2020 10:36 am

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.
Esben
DM42 SN: 00245

rprosperi
Posts: 988
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

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

Post by rprosperi » 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.
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

toml_12953
Posts: 666
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

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

Post by toml_12953 » Mon Sep 07, 2020 9:55 pm

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! :)
Tom L

If I buy someone a drink to congratulate them, is it a Mazel Tov cocktail?

DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)

User avatar
ijabbott
Posts: 191
Joined: Fri Dec 15, 2017 2:34 pm
Location: GB-MAN

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

Post by ijabbott » 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.

rprosperi
Posts: 988
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

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

Post by rprosperi » Mon Sep 07, 2020 11:05 pm

It's 6 keystrokes guys, so I'll presume you're both kidding. :mrgreen:
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

HPMike
Posts: 209
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

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

Post by HPMike » 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.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973.

rprosperi
Posts: 988
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

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

Post by rprosperi » 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?
--bob p

DM42: β00071 & 00282, DM41X: β00071, DM10L: 071/100

toml_12953
Posts: 666
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

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

Post by toml_12953 » Tue Sep 08, 2020 1:41 am

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!
Tom L

If I buy someone a drink to congratulate them, is it a Mazel Tov cocktail?

DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)

HPMike
Posts: 209
Joined: Fri Jul 21, 2017 11:01 pm
Location: DFW, Texas

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

Post by HPMike » Tue Sep 08, 2020 2:39 am

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.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973.

Post Reply