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

This is where announcements of firmware updates for the DM42 calculator will be made
grsbanks
Posts: 709
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

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

Post by grsbanks » Wed Aug 15, 2018 5:40 am

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
Not SwissMicros staff, just an enthusiast.

mcc
Posts: 178
Joined: Fri Jun 23, 2017 3:10 am

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

Post by mcc » Wed Aug 15, 2018 6:15 am

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 v.:3.11. / 3.11. as compiled by SwissMicros

dlachieze
Posts: 140
Joined: Thu May 04, 2017 10:20 am
Location: France

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

Post by dlachieze » Wed Aug 15, 2018 8:09 am

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 SN: 00425

DA74254
Posts: 40
Joined: Tue Oct 03, 2017 9:20 pm
Location: Norway/Latvia

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

Post by DA74254 » Wed Aug 15, 2018 8:59 am

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

User avatar
Over_score
Posts: 16
Joined: Fri May 05, 2017 7:37 pm
Location: France

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

Post by Over_score » Wed Aug 15, 2018 10:58 am

Wonderful this new feature allowing to display the LASTx register at the bottom of the stack!
Image
DM42 SN:00284

rprosperi
Posts: 375
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

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

Post by rprosperi » Wed Aug 15, 2018 2:20 pm

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

User avatar
akaTB
Posts: 214
Joined: Tue May 02, 2017 11:56 am

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

Post by akaTB » Wed Aug 15, 2018 2:30 pm

rprosperi wrote:
Wed Aug 15, 2018 2: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

-+×÷ ↔ left is right and right is wrong

toml_12953
Posts: 447
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

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

Post by toml_12953 » Wed Aug 15, 2018 5: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?
Tom L

Ducator meus nihil agit sine lagunculae leynidae accedunt

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

rprosperi
Posts: 375
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

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

Post by rprosperi » Wed Aug 15, 2018 11:24 pm

toml_12953 wrote:
Wed Aug 15, 2018 5: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

DA74254
Posts: 40
Joined: Tue Oct 03, 2017 9:20 pm
Location: Norway/Latvia

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

Post by DA74254 » Thu Aug 16, 2018 5:47 am

toml_12953 wrote:
Wed Aug 15, 2018 5: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:
Wed Aug 15, 2018 11:24 pm

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

Post Reply