UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

This is where announcements of official firmware updates provided by SwissMicros for the DM42 calculator will be made.

Please do not post bug reports here. The Usage tips, tricks and problem reports forum is there for that.

Please do not post notices of third party firmware builds here, they will be deleted. Instead, please use the Third Party firmware builds forum for this purpose.
grsbanks
Posts: 1122
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by grsbanks »

Image

Hi all,

It's been a while since the last update announcement so this one's a triple :)

DMCP V3.9 - V3.9a
  • V3.9: some units would drain power much faster than they should when switched off. This was fixed in V3.9.
  • V3.9a: Minor fix of text alignment
DM42 V3.9.1

This brings a number of improvements:
  • Update to Free42 V2.0.21 (see here for details)
  • New LXYZT stack layout
  • Different stack registers can now be displayed with different font sizes (SETUP > Settings > Stack Font Sizes)
  • "No program selected" is displayed if you leave the "Save Program" screen without selecting a program to save
A binary combining both DMCP-3.9a and DM42-3.9.1 is also provided for convenience.

dm_tool V2.4

dm_tool V2.4 allows you to flash the DMCP firmware (previous versions didn't) and the 32-bit Linux version was unable to flash the QSPI binary. This has been fixed.

This said, using dm_tool to update your DM42 is now deprecated and has been since the ability to update via the FAT drive was introduced.

There have also been updates to the following sections of the manual:
  • Firmware update procedure
  • Program decoder/encoder
  • Changes since firmware V3.7
  • Quick update guide
  • Program loading/update
  • DMCP System Menu
The method for updating your DM42 is covered in the manual.

The latest firmware binaries are available here.

SHA1 checksums:
  • c236c5de10d91c21da999c32a0db45858614062a DM42-3.9.1.pgm
  • 8c8f783839db8a228ab7c29c6d35fa9aa71fed34 DMCP_flash_3.9a.bin
  • 36e1cf774a5d926f8e8bdfd461119d84b03390be DMCP_flash_3.9a_DM42-3.9.1.bin
There are only 10 kinds of people in the world: those who understand binary and those who do not.
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by mcc »

Hi,

still missing the promised fix for this:

http://forum.swissmicros.com/viewtopic. ... 8132e1b923 (scroll down)
and
http://forum.swissmicros.com/viewtopic. ... a096#p5393

The longer I use my DM42 and the more it becomes my daily tool...the more the FAT gets filled up...and the more I hit
that limit.

Cheers!
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
dlachieze
Posts: 613
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by dlachieze »

Thanks for the update.

This time I tested a new way to update my DM42: directly from my Android tablet !
I downloaded DMCP V3.9a and DM42 V3.9.1 on my tablet, connected the DM42 with a USB OTG cable and activated USB Disk in the Setup menu. The DM42 was recognized as a USB key and I copied to it the new firmware files. I then ejected the DM42 on my tablet without unplugging the cable, pressed EXIT on the DM42 and the update process started on the DM42.

However after the update I found that the Programs and State directories on the DM42 were empty and I was not able to transfer any file to them from my tablet, every time I got an error message.

I connected the DM42 to my PC and I was able to restore the content of the Programs and State directories without any issues. After that I connected again the DM42 to my tablet and this time I was able to transfer files to the Programs and State directories.

So it seems that when Programs and State are cleared during the DMCP update process (btw is this normal?) they are left in a state that is not clean and requires some action from the Windows file system to work properly with my Android tablet.

Now regarding the update content, having a different font size for each stack register is cool and allows for example to have Z and T smaller than X and Y. I personally don't see the need for the new LXYZT layout but others may.
One comment regarding the setup of the registers font size: if I didn't miss something you change the font size with ENTER or with the number key corresponding to the register and the size is increased by 1 and when the maximum size is reached (5) it goes to the minimum (-5). It would be good to be able to use the + and - keys to increase/decrease the size.
DM42: 00425 - DM41X: β00066 - WP43: 00042
DA74254
Posts: 192
Joined: Tue Oct 03, 2017 11:20 pm
Location: Norway/Latvia

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by DA74254 »

Image
Successfully updated via the "bundled" version of 3.9.1

And here's how the new variable stack fonts looks with X, Y as +2, the Z, T as -1 and L as -3
Image

Thank you SwissMicros and Thomas Okken :)
Esben
DM42 SN: 00245, WP43 Pilot SN:00002, DM32 SN: 00045 (Listed in obtained order).
User avatar
Over_score
Posts: 160
Joined: Fri May 05, 2017 9:37 pm
Location: France

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by Over_score »

Wonderful this new feature allowing to display the LASTx register at the bottom of the stack!
Image
DM42 SN00284 & SN03835 running C47, HP34C, HP41CV, HP42S, HP35s, WP34S, HP Prime
rprosperi
Posts: 1698
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by rprosperi »

Just updated:

1. New DMCP and DM42 App, using combined image and dm_tool_v2.4. Fast, smooth, no issues, no loss of State, etc.

One unexpected thing is the prior DM42 App (DM42-3.7.1.pgm) remains in the FAT area; after a moment's thought this does make sense (since it was there before the update) but initially I thought something had gone wrong. So if updating this way, be sure to also copy DM42-3.9.1.pgm to FAT once you're done with the dm_tool update process. In fact, going forward you can have the prior and latest DM42 App versions on the FAT at the same time and can easily swap between them if you need to check out or compare the results, show someone else new changes, etc. Really flexible.

2. Latest Help file (manually download and copy to the HELP folder in the FAT).

Very nice updates all around, thanks guys!
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
User avatar
akaTB
Posts: 794
Joined: Tue May 02, 2017 1:56 pm
Location: Milan, Italy

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by akaTB »

rprosperi wrote:
Wed Aug 15, 2018 4:20 pm


1. New DMCP and DM42 App, using combined image and dm_tool_v2.4. Fast, smooth, no issues, no loss of State, etc.

Ditto, but using separate images and RAMdisk update.
No problem and nice new features; just have to choose the most pleasant (to my eyes) display setup.

Thanks a lot!
Greetings,
    Massimo
ajcaton
-+×÷ left is right and right is wrong :twisted: Casted in gold
toml_12953
Posts: 795
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by toml_12953 »

There are three files listed on the firmware page:

1. DM42-3.9.1.pgm (648KB)
2. DMCP_flash_3.9a.bin (265KB)
3. DMCP_flash_3.9a_DM42-3.9.1.bin (968KB)

Is that third one the combination of 1 and 2? If so, we only need to copy #3 to the DM-42 drive, correct?
Tom L

Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
rprosperi
Posts: 1698
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by rprosperi »

toml_12953 wrote:
Wed Aug 15, 2018 7:57 pm
Is that third one the combination of 1 and 2? If so, we only need to copy #3 to the DM-42 drive, correct?
Yes, that is a single image with both components.

I think it's correct, but as I wasn't 100% sure, I loaded it the old-fashioned way with dm_tool_v2.4.

It makes sense what you suggest is correct as the combined image is a .bin file and they indeed can be installed via System > Flash firmware from FAT.

Take a leap, give it a go, and let the rest of the folks know this for sure with an update to this thread.

But as I noted above, you probably should also subsequently copy the DM42-3.9.1.pgm file to FAT after you complete the above upgrade, so that you have a copy to load if you dabble with the SDK demo programs.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
DA74254
Posts: 192
Joined: Tue Oct 03, 2017 11:20 pm
Location: Norway/Latvia

Re: UPDATE: DMCP-3.9a / DM42-3.9.1 / dm_tool-2.4

Post by DA74254 »

toml_12953 wrote:
Wed Aug 15, 2018 7:57 pm
There are three files listed on the firmware page:

1. DM42-3.9.1.pgm (648KB)
2. DMCP_flash_3.9a.bin (265KB)
3. DMCP_flash_3.9a_DM42-3.9.1.bin (968KB)

Is that third one the combination of 1 and 2? If so, we only need to copy #3 to the DM-42 drive, correct?
rprosperi wrote:
Thu Aug 16, 2018 1:24 am

Yes, that is a single image with both components.

I think it's correct, but as I wasn't 100% sure, I loaded it the old-fashioned way with dm_tool_v2.4.

It makes sense what you suggest is correct as the combined image is a .bin file and they indeed can be installed via System > Flash firmware from FAT.

Take a leap, give it a go, and let the rest of the folks know this for sure with an update to this thread.

But as I noted above, you probably should also subsequently copy the DM42-3.9.1.pgm file to FAT after you complete the above upgrade, so that you have a copy to load if you dabble with the SDK demo programs.
As I posted; I tried the "bundled" version, #3 if you wish.
The DM42 loaded the firmware and started the 42-program.
As rprosperi mentions, you may, (if you "install" other .pgm), copy the #1 program-file into the FAT, as, when using #3 will delete the .bin-file completely.

Though, my update took something around 2 minutes and it loaded the last used state file as well. That means, I did not lose any of my programs og settings.
(OTOH, I may make a new state file as I've now fiddled with the font size settings)
Esben
DM42 SN: 00245, WP43 Pilot SN:00002, DM32 SN: 00045 (Listed in obtained order).
Post Reply