Huston (Thomas), we have a problem

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Huston (Thomas), we have a problem

Post by mcc »

Hi,

currently my DM42 is flashed with the latest firmware as compiled by Swiss Micros (see signature).

I think I had encountered a bug ... or a door to synthetic programming the DM42 ?... :)

To clean the custom menu I created a short program with commands for all entries of the custom menu
like this:

ASSIGN "" TO 1
...
ASSIGN "" TO 18

I executed the program and it works fine.
For later use I saved the program to the SSD <cough> of my DM42 :)
Later I loaded the program, tried to execute and it failed hard.

I browsed the program and all ASSIGN statements were converted to

XROM 0x000
...
XROM 0x018

Interestingly the numbers were transfered from decimal to hexadecimal characterwise without any numerical conversions.
"XROM" is neither known to my DM42 nor is it a "hidden" command, which needs to be entered character by character.

Conclusion:
ASSIGN "" TO <n> cannot be saved to flash. After deletion you need to enter the commands manually.

What did I found here?

Cheers!
mcc
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
whuyse
Posts: 197
Joined: Thu Dec 21, 2017 1:23 pm

Re: Huston (Thomas), we have a problem

Post by whuyse »

Confirmed, and Free42 (iOS v3.0.17) behaves the same way.
Thankfully, you didn't know about the CLKEYS command or you would never have found this ;-)

Cheers, Werner
41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE, DM15L
Pyjam
Posts: 495
Joined: Sat Jan 28, 2023 5:01 pm
Location: France

Re: Huston (Thomas), we have a problem

Post by Pyjam »

Something funny happens when you try ASSIGN MEM.

  Optimot : The ⌥ keyboard layout optimized for French and English (ŵïþ ʃʉŋ 𝕂åʁɒꝃțɛɹṩ).
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: Huston (Thomas), we have a problem

Post by mcc »

whuyse wrote:
Wed Feb 08, 2023 8:39 am
Confirmed, and Free42 (iOS v3.0.17) behaves the same way.
Thankfully, you didn't know about the CLKEYS command or you would never have found this ;-)

Cheers, Werner
....CLKEYS??? Surely? That's a command for dummys! Real women, real men use ASSIGN "" ! ;) :)
...Same goes for the many options to clear specific aspects of data...that's for noobs!
Real women, real men use the reset button at the back side of the DM42! Chuck Norris
would pull and reinsert the coin cell, though... :) ;)

Cheers!
mcc

PS: Your serial number does not differ that much from mine, Werner! :)
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: Huston (Thomas), we have a problem

Post by mcc »

Pyjam wrote:
Wed Feb 08, 2023 10:08 am
Something funny happens when you try ASSIGN MEM.
MEM is for instant execution....I think, that is the reason...

Cheers!
mcc
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: Huston (Thomas), we have a problem

Post by mcc »

Hi,

I mailed Thomas (24.2.2023) with a link to this thread.

Cheers!
mcc
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
mcc
Posts: 277
Joined: Fri Jun 23, 2017 5:10 am

Re: Huston (Thomas), we have a problem

Post by mcc »

Hi,

Thomas has sent me an email. He wrote, he will fix the bug next week.

Have a nice weekend!
Cheers
mcc
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros
Post Reply