A guide for installation on Windows. (A living document)

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
Geoff Quickfall
Posts: 277
Joined: Wed May 24, 2017 8:44 pm
Location: Vancouver Canada
Contact:

A guide for installation on Windows. (A living document)

Post by Geoff Quickfall » Sat Dec 30, 2017 11:20 pm

Let’s get this right for the non Beta testers. This is a preliminary overview. Looking for input. It consists of a Preamble or notes before installation, then the actual Sequence. It does not include the separate instructions for driver installation and dm_tool installation. Swiss Micros covers that. It does show the sequence of installation events, pitfalls inherent with Windows and workarounds with some suggestions.

Geoff

Edited on December 31.

———————————————

Assuming you have windows 10.xx:

Preamble:

A). The production DM42 does not have PGM pin hole, only the beta units do. Both production and beta units have a RESET pinhole. The RESET pinhole is used to exit an erroneously called bootloader mode or when the calculator CPU is in a hung state.

B). To navigate the setup menu on calculator use ‘up down’ keys or line select by pressing associated digit aligned with the title in the menu.

C) on your computer create a DM42 folder and sub folders labelled for example:

- backup, dm_tool, firmware updates, offimage and whatever else you want.

D) failure modes involve

- bad USB cable; cables which do not insert completely into calculator USB port.
- windows update removing or preventing unsecured driver installation. Simply disable the Defender, Norton, etc prior to installation.
- security scan removing or quarantining updated drivers. Again simply disable Defender, Norton or etc prior to installation.
- inability to run dm_tool after installation. Select “run as administrator”.
- Lack of knowledge of Windows OS driver installation requirements or Windows OS in general.

E). Download and unzip from here: Update 3.1. Again, you may have to disable security programs such as Defender, Norton etc. to load driver on your computer. This is a Windows requirement to avoid hacking, malware and etc. It does make everything awkward.

F). When installing the driver the instructions mention boot0 and reset. Ignore this as it was used for updating beta versions in the early days. Replace this with, on the calculator:

- SETUP/System/Enter/Bootloader. You should then see the STM driver recognized as per the instructions pictorial popup. This driver will disappear from the popup if calculator is disconnected from the computer. It will reappear once the calculator is re-connected. This occurs with any device in Windows OS.


Sequence:

1) install the correct driver on your computer using these instructions: Driver installation for computer. You may have to restart your computer. You may have to disable your security protection; Defender, Norton, etc to complete the installation.

2) to test USB connection, plug calculator into computer USB port.

3) on calculator call SETUP:

- SETUP/File>/Activate USB Disk >. If all is correct you should see your FAT directory on a windows file folder on your computer screen. At this point I create a folder called DM42/Backup on the computer and copy the complete FAT over to a backup folder labelled DM42/backup. Not necessary but just in case.

- eject the USB DISK with the EXIT key on the calculator or eject the USB drive from the computer. Remove the cable from the calculator.

- SETUP/Calc State/Save State. ** if you have programs already installed this will save them for reloading later if required. This should not be required if all goes well.

4) install the latest DM42 tool file from: Latest dmtool for dm42

5) on computer

- once dmtool is loaded by the Windows wizard, invoke (call) dm_tool.exe. *** Windows may prevent the dm_tool from running. Simply “Run as administrator “.

6) on calculator:

- connect the calculator to the computer. Remember, dm_tool is called first, then calculator is plugged into computer USB.

- SETUP/System/Enter/Bootloader.

- on dm_tool window on computer screen you should see a handshake between the calculator and the computer.

- select browse on the dm_tool window and find the updated firmware file that you saved to your computer.

- select the file.

- select program on the dm_tool window.

- watch the magic.

Geoff

P.S. once you have done a few of these it becomes muscle memory which is why the old hats (beta testers) at this breeze through it.
Last edited by Geoff Quickfall on Sun Dec 31, 2017 8:29 am, edited 2 times in total.

Hans S.
Posts: 24
Joined: Sun Dec 24, 2017 8:08 am
Location: Remstal
Contact:

Re: A guide for installation on Windows. (A living document)

Post by Hans S. » Sun Dec 31, 2017 6:16 am

Geoff Quickfall wrote:
Sat Dec 30, 2017 11:20 pm
Geoff, aureate idea.

Sole remark:
A). Production DM42 does not have PGM pin hole. It does have a reset pinhole. Reset hole to be used in a hung state or to exit bootloader mode.
Since the use of the pinhole normally is not necessary and only is needed if anything goes wrong or if you want to quit the bootloader-mode prematurely, this could be noticed also.
(Otherwise I see people here and in other HP-related forums asking when, where, why and with what to poke that pinhole...)

Happy new year,

Hans

Geoff Quickfall
Posts: 277
Joined: Wed May 24, 2017 8:44 pm
Location: Vancouver Canada
Contact:

Re: A guide for installation on Windows. (A living document)

Post by Geoff Quickfall » Sun Dec 31, 2017 8:13 am

That’s what I am looking for. Noted and thanks Hans.

zeno333
Posts: 68
Joined: Fri Dec 29, 2017 12:34 am

Re: A guide for installation on Windows. (A living document)

Post by zeno333 » Sun Dec 31, 2017 9:51 am

I will sign it with a big signature just like John Hancock ;) ;) ;)

Thomas_ER
Posts: 84
Joined: Mon Jul 24, 2017 1:19 pm
Location: Germany

Re: A guide for installation on Windows. (A living document)

Post by Thomas_ER » Sun Dec 31, 2017 10:36 am

Hello Geoff,
really a great work!

Some ideas:
- "Assuming you have windows 10.xx:" : same for windows 7
- in "Preamble" you could add an remark regarding someone ownes more than one DM42:
on Windows 7 the driver have to be installed for each DM42 (for me)
- where should I start for subsequent firmware updates?
at No. 6 from the sequence?
- possibly add a numbering for the sub-items within sequence,
e.g. 3.1 till 3.3; 6.1 ... 6.7 (for reference, if something goes wrong).

Many thanks for your work, I wish you a happy new year!
[ HP48/49/50/42S/WP34/HP Prime/ DM42 (#00185+00318) ]

User avatar
Mark Hardman
Posts: 104
Joined: Wed May 03, 2017 1:26 am
Location: Houston, TX

Re: A guide for installation on Windows. (A living document)

Post by Mark Hardman » Sun Dec 31, 2017 2:28 pm

In step three I would suggest moving the option to create a state file before activating the USB drive and copying the contents of the drive. Also in step three, the USB drive should be ejected in Windows. This ensures that all activity to the USB drive has completed.
Thomas_ER wrote:
Sun Dec 31, 2017 10:36 am
- in "Preamble" you could add an remark regarding someone ownes more than one DM42:
on Windows 7 the driver have to be installed for each DM42 (for me)
I'm using Windows 7 x64 and only installed the drivers once. Perhaps we could say, "the driver may need to be installed...".

ETA: Please add a warning to not attempt to flash the QSPI image unless instructed to by SwissMicros.
DM42: β00043, β00065, 00357
DM41X: β00054

Geoff Quickfall
Posts: 277
Joined: Wed May 24, 2017 8:44 pm
Location: Vancouver Canada
Contact:

Re: A guide for installation on Windows. (A living document)

Post by Geoff Quickfall » Mon Jan 01, 2018 2:41 am

Just landed in Sydney Australia on 01/01/2018 so will update after the sun sets, the beer is had and the prawns are eaten :P

Thanks for the input.

User avatar
Walter
Posts: 1360
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: A guide for installation on Windows. (A living document)

Post by Walter » Mon Jan 01, 2018 4:22 am

Enjoy, Geoff!
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

Geoff Quickfall
Posts: 277
Joined: Wed May 24, 2017 8:44 pm
Location: Vancouver Canada
Contact:

Re: A guide for installation on Windows. (A living document)

Post by Geoff Quickfall » Mon Jan 01, 2018 5:19 am

All the best in 7e2!

Post Reply