I wrote a program to test the calculator speed, and it locks up needing a RESET to recover. The error message is Reg Id d3770103, fw 3.0. The number of loops is placed in the X register before execution, and the program locks up with loops exceeding 100.
LBL “SPEED”
STO “Loop”
TIME
—> HR
STO 00
0
STO “SUM”
1
STO “X”
LBL 01
ATAN
SIN
e^x
3
1/x
y^x
STO+ “Sum”
RCL “X”
1
+
STO “X”
DSE “Loop”
GTO 01
TIME
—> HR
RCL- 00
3600
X
END
Calculator locks up with this program
Calculator locks up with this program
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Re: Calculator locks up with this program
Firmware update v3.2 added some changes to fix lock-ups during intensive calculations. From the error message text, it appears you are still running v3.0, but your message does not state which rev you are running on. Suggest you update your machine to v3.2 and try it again; it likely will correct the problem.
--bob p
DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Re: Calculator locks up with this program
Yes, I’m running firmware V3.0.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Re: Calculator locks up with this program
Does V3.2 fix the other hang issue with the loop having LOG and 10^X ?
Re: Calculator locks up with this program
There are only 10 kinds of people in the world: those who understand binary and those who do not.
Re: Calculator locks up with this program
Yesterday I finally got around to updating my firmware, and I can confirm that my program now runs w/o hanging the CPU, however there is a significant reduction in speed. Comparing previous results of the speed test created by pier4r on the MoHPc forum, the time for 100 and 1000 program loops changed as follows:
Loops = 100
Batteries: 0.6s —> 1.08s
USB: 0.28s —> 0.37s
Loops = 1000
Batteries: 6.64s —> 10.42s
USB: 2.6s —> 3.53s
Of course, I don’t know to what extent my code differs from the original tests, or even exactly how the timing was done (I used the internal clock and the TIME function of the DM42), but the differences are quite significant.
Nonetheless, the DM42 is still nearly thirty times faster than the original HP-42s.
Loops = 100
Batteries: 0.6s —> 1.08s
USB: 0.28s —> 0.37s
Loops = 1000
Batteries: 6.64s —> 10.42s
USB: 2.6s —> 3.53s
Of course, I don’t know to what extent my code differs from the original tests, or even exactly how the timing was done (I used the internal clock and the TIME function of the DM42), but the differences are quite significant.
Nonetheless, the DM42 is still nearly thirty times faster than the original HP-42s.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Re: Calculator locks up with this program
I did benchmark the new version compared to the old and I got a 0.6% reduction in speed with V3.2 compared to V3.1.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
Re: Calculator locks up with this program
Hmm, that is totally at odds with my results, but unfotunately I cannot make a direct comparison, since my calculator would hang under V3.0.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Re: Calculator locks up with this program
I compared the speeds running on USB power, in which case the machine wouldn't lock up on earlier fw versions.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
Re: Calculator locks up with this program
OK, I didn’t know that, so I didn’t bother trying. I wonder how those results that I quoted were obtained with the calculator running under battery power. <scratches head>
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.