Questions about DM32 custom ROMs

Discussion around the SwissMicros DM32 calculator
Post Reply
Aardwolf
Posts: 11
Joined: Sun May 21, 2023 9:38 am

Questions about DM32 custom ROMs

Post by Aardwolf »

Hi, I've got a few questions about flashing and making custom ROMs for the DM32:

What is the best way to make custom ROMs: keep the same DMCP, but load a custom .pg5 calculator program you can make yourself, or flash everything including replacing the OS?

If you'd accidently flash a bad ROM that doesn't have a properly working DMCP, or use DMCP but have a buggy calculator program, is there any risk that flashing it to something that works again becomes impossible? E.g. if the flash menu itself becomes inaccessible.

What tooling is needed to program a .pg5 file? What programming language is it written in, and how can it be compiled to a .pg5? Is it intended to be programmable by end users, or is this in-house only? Does it work on Linux?

Will the DM32 calculator program be open sourced? To be able to modify the existing one to add functionality etc... rather than start from scratch

Thanks!
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Questions about DM32 custom ROMs

Post by rprosperi »

Custom programs can be created using embedded ARM C cross-compilers (available on Windows, Linux (and maybe masOS). These toolkits provide all the tools needed for creating programs which build upon the DMCP core. Such development requires experienced embedded programmer skills and are not oriented towards, nor likely usable by end-users.

There are protections built-in to recover from unstable programs.

The DM32 is not, and will not be, open source, however the DMCP5 toolkit (not yet available for the new platform used in the DM32, but will be after final product release) includes a sample calculator program as a starting place to build new applications.

Hope this answers your questions.
--bob p

DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Aardwolf
Posts: 11
Joined: Sun May 21, 2023 9:38 am

Re: Questions about DM32 custom ROMs

Post by Aardwolf »

With the embedded ARM C cross-compiler, do you create the .pg5 file with them, or an entire firmware including the DMCP OS?

Is pg5 a particular binary format for ARM CPU's, or a format specific only to DM32 or SwissMicros?
User avatar
pcscote
Posts: 169
Joined: Tue May 02, 2017 12:12 pm
Location: Québec/Canada

Re: Questions about DM32 custom ROMs

Post by pcscote »

The information on how to create a custom calculator and how to use DCMP is available here
[DM1x/DM1xL/DM41/DM41L/DM41X/DM42]
rprosperi
Posts: 1703
Joined: Mon Apr 24, 2017 7:48 pm
Location: New York

Re: Questions about DM32 custom ROMs

Post by rprosperi »

Aardwolf wrote:
Mon May 29, 2023 3:27 pm
With the embedded ARM C cross-compiler, do you create the .pg5 file with them, or an entire firmware including the DMCP OS?

Is pg5 a particular binary format for ARM CPU's, or a format specific only to DM32 or SwissMicros?
You can create a separate program or one with DMCP combined. There are benefits to both approaches, so the option is there for developer to choose.

The pg5 format is DM-platform specific.
--bob p

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