DMCP_SDK Hello World

This is where developers can exchange ideas and ask questions relevant to the DM42 firmware.

Please note that Swiss Micros staff are unable to provide answers here as a general rule. This is intended as a community-driven forum.
User avatar
Vitasam
Posts: 225
Joined: Thu Jun 01, 2017 9:51 am
Location: Finland
Contact:

Re: DMCP_SDK Hello World

Post by Vitasam » Mon Dec 17, 2018 7:31 am

Hi,

one can compare documentation level of open-source Numworks calculator with DM42 APIs:
https://hackaday.com/2018/05/18/open-so ... mentation/

How to say politely? Light years ahead ...
Elektronika MK-61, Elektronika MK-52, HP15c LE, DM42 SN#16 FW 3.13

User avatar
Jaymos
Posts: 274
Joined: Sun Nov 04, 2018 6:03 pm
Location: Cape Town

Re: DMCP_SDK Hello World

Post by Jaymos » Sun Mar 31, 2019 4:04 pm

Hi,

I used the advice in this thread to build DMCP_SDK, SDK-Demo & DM42PGM successfully on Windows 10.

- I did not check the hash checksums.
- I did load the PGM files into the DM42 and all 3 worked!

It took me many hours of trying different ARM tools and diiferent MINGW downloads and some hours to figure out that only "mingw-get-setup.exe" V1.0 and only "gcc-arm-none-eabi-7-2017-q4-major-win32.exe" works. Without this combination, many different unrelated compile errors are coming and the target is not built.

Thank you so much for the advice in this thread which enabled me to set up a build system. It is not difficult (I am not a software dev), just heed the above advice, and the old version of gcc-arm tools - it does work.

Jaco

Vitasam wrote:
Fri Jun 15, 2018 1:43 pm
Thomas_ER wrote:
Fri Jun 15, 2018 1:19 pm
I got it
Ok good! Did you try the .pgm file in real DM42? In my case the hash check was failed
Jaco Mostert
Elec Eng, South Africa
WP34C, HP42S, DM42 for complex math; 35S, 28C, 32Sii, WP34S, EL-506P, EL-W506, FX750P; owned FX702P & 11C; used 67 & 85. iOS: 42s (Byron), Free42, WP31S/34S, HCalc.
43S operators right. DM42 sn. 03818.

User avatar
Vitasam
Posts: 225
Joined: Thu Jun 01, 2017 9:51 am
Location: Finland
Contact:

Re: DMCP_SDK Hello World

Post by Vitasam » Sun Mar 31, 2019 7:16 pm

Hi,
Jaymos wrote:
Sun Mar 31, 2019 4:04 pm
It took me many hours of trying different ARM tools and diiferent MINGW downloads and some hours to figure out that only "mingw-get-setup.exe" V1.0 and only "gcc-arm-none-eabi-7-2017-q4-major-win32.exe" works.
Good that it works now!

Maybe I will create a separate forum thread about environment settings for Windows.

BR,Vitali

P.S. I have switched from Lnux laptop to a new one, under Windows 10. And I stopped to use old command line tool - PowerShell works very well.
Elektronika MK-61, Elektronika MK-52, HP15c LE, DM42 SN#16 FW 3.13

Post Reply