Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
-
StreakyCobra
- Posts: 8
- Joined: Thu Jun 14, 2018 8:09 am
Post
by StreakyCobra » Fri Jun 15, 2018 1:31 pm
Hi,
I just received my DM42 and its a really nice device. There is an issue with the USB cable though:
Transcript (for making search easier in this forum, and for posterity if imgur closes):
Code: Select all
Err:Src/main.c:867
Err:main.c:867
Err:SetFreq 2
ERROR: 0777
Desc:SetFreq 2
This happens directly at the moment I plug the USB cable in the device, tested both on different computers (windows and linux) and with different USB cables. When this error appears, the calculator is then stuck. The only way out is to remove the USB cable and press the reset button on the back.
Here are a few notes:
- This also happen when I do "Activate USB disk" before plugging the cable in.
- If I put it in while on the "About" screen after reset, it doesn't throw an error directly, but after dismissing the screen get stuck on "Checking QSPI contents …"
- I manage, sometimes, to make USB work with this procedure:
- Press the reset button and wait for the "About" screen to appear
- Prepare the USB cable close to the plug
- Dismiss the about screen by pressing "Exit" and quickly insert the USB cable
- Some other messages I got while trying to make it work:
Code: Select all
Oops, RESET in protected area.
Please, report following info
if the system had hung:
Reg Id d3770001, fw 3.7
Code: Select all
Oops, I've crashed! Please, try
to reproduce it, then report the
steps taken and following info:
Hard Fault
r0=10005a0c r1=00000040
r2=00000000 r3=00000000
r12=00000001 lr=ffffffed
pc=00f00000 psr=00010029
- Device:
Thanks in advance for your help

-
Michael
- Site Admin
- Posts: 236
- Joined: Wed Apr 05, 2017 9:31 pm
Post
by Michael » Fri Jun 15, 2018 1:41 pm
I'm afraid this is a hardware related issue.
Please contact me via email for an exchange.
-
wawachief
- Posts: 30
- Joined: Tue Dec 12, 2017 6:39 pm
- Location: France, Normandie
Post
by wawachief » Fri Jun 15, 2018 5:00 pm
This is strange, I have the exact same problem since this morning :
It worked perfectly fine since I received my unit in december. Then, I made the upgrade to 3.7 firmware, and now, as soon as I plug the usb cable, the error appears and the calculator freezes. I have to press reset to reboot it. It works until I plug the USB cable again...
Please tell me it is not a hardware problem too

DM42 SN:00218
HP-11c - HP-19b - HP25 - HP 45 - HP42s - HP48gx
-
wawachief
- Posts: 30
- Joined: Tue Dec 12, 2017 6:39 pm
- Location: France, Normandie
Post
by wawachief » Fri Jun 15, 2018 8:22 pm
I managed to downgrade to 3.5 firmware by removing the back case and pressing PRGM+RESET to get into bootloader mode, then flashing the old firmware with dfu-util.
With the 3.5 firmware everything seems to be back to normal, I can access my FAT disk again so it seems not to be a hardware problem
I'm not sure if I can reupgrade to 3.7 now.... Is it really safe ?
DM42 SN:00218
HP-11c - HP-19b - HP25 - HP 45 - HP42s - HP48gx
-
rprosperi
- Posts: 502
- Joined: Mon Apr 24, 2017 5:48 pm
- Location: New York
Post
by rprosperi » Fri Jun 15, 2018 11:44 pm
I just connected my DM42 running f/w Ver 3.71 to my PC via USB cable with no trouble; it worked as expected, files on Flash were visisble to the PC, etc. so the issue reported above is not present in all 3.7 f/w DM42 machines. I don't doubt that the 2 reports are real problems, I just wanted to verify and confirm that this problem is *NOT* present in all machines.
--bob p
DM42: β00071 & 00282
-
pcscote
- Posts: 51
- Joined: Tue May 02, 2017 10:12 am
- Location: Near Montreal, Québec, Canada
Post
by pcscote » Sat Jun 16, 2018 1:49 am
rprosperi wrote: ↑Fri Jun 15, 2018 11:44 pm
I just connected my DM42 running f/w Ver 3.71 to my PC via USB cable with no trouble; it worked as expected, files on Flash were visisble to the PC, etc. so the issue reported above is not present in all 3.7 f/w DM42 machines. I don't doubt that the 2 reports are real problems, I just wanted to verify and confirm that this problem is *NOT* present in all machines.
Same here, tried multiple times, on different ports, on a MacBookPro running 10.13.5 without any error.
[DM1x/DM1xL/DM41/DM41L/DM42]
-
wawachief
- Posts: 30
- Joined: Tue Dec 12, 2017 6:39 pm
- Location: France, Normandie
Post
by wawachief » Sat Jun 16, 2018 6:49 am
I tried to upgrade to 3.7 again. I double checked the upgrade procedure, I downloaded the files again, compared the checksums, they were OK. I upgraded the DMCP then the program... and I am back into trouble, same error again when I plug the USB cable. So the problem is reproducible and has something to do with the 3.7 firmware.
... and yes, I tried different cables with different computers.
DM42 SN:00218
HP-11c - HP-19b - HP25 - HP 45 - HP42s - HP48gx
-
wawachief
- Posts: 30
- Joined: Tue Dec 12, 2017 6:39 pm
- Location: France, Normandie
Post
by wawachief » Sat Jun 16, 2018 7:05 am
The problem seems to come from the DMCP part because I compiled the Hello world program. It works but the calculator still crashes when I plug the USB cable

DM42 SN:00218
HP-11c - HP-19b - HP25 - HP 45 - HP42s - HP48gx
-
Thomas_ER
- Posts: 79
- Joined: Mon Jul 24, 2017 1:19 pm
- Location: Germany
Post
by Thomas_ER » Mon Jun 25, 2018 10:17 am
bump
Any news from Swissmicros to this issue?
[ HP48/49/50/42S/WP34/HP Prime/ DM42 (#00185+00318) ]
-
grsbanks
- Posts: 857
- Joined: Tue Apr 25, 2017 9:23 am
- Location: Preston, Lancs, UK
-
Contact:
Post
by grsbanks » Mon Jun 25, 2018 10:26 am
See this reply from Michael further up the thread:
viewtopic.php?p=8557#p8495
Not SwissMicros staff, just an enthusiast.