Firmware Update (v29) on DM 15L using a MacBook Pro

This is the place to discuss the usage of DM1x/DM41 machines and to share any tips & tricks you may have stumbled across.

If discussing a specific model, please ensure that you prefix topic subjects with the model number this way:

[DM41] How to change the number of program steps available
StatsDoctor
Posts: 26
Joined: Sun Jul 08, 2018 12:47 am
Contact:

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by StatsDoctor » Sun Jun 16, 2019 11:17 pm

Thanks for your response, ctrclckws. Yes, you are correct (I just checked my DM15L). I was aware of the instructions page but had not fully explored it previously. I held down the E key, then pressed and released the [ON] key. This gave me the firmware version, the configuration, and several other valuable pieces of information. I did not really understand the three configurations for the DM15L until reading through posts on this forum and asking questions.

Best,

Bob O.
Bob O.
DM42, DM15L, WP-34S, HP-42S, HP-32S, HP-32Sii, HP-15C; iOS: Free42, 42s (Byron), WP-34S, HP-15C

rprosperi
Posts: 489
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by rprosperi » Mon Jun 17, 2019 3:01 am

Good to know they now ship with M1B; this may have changed as I think when I initially got mine (when announced) it was the default, but as more folks have explored it and it's now more fully documented and understood (so, less folks emailing SM or posting questions) SM switched. Possibly it was even M1B from launch, I didn't notice.

Anyhow, thanks for confirming the result here; the next folks that wonder can find out here.
--bob p

DM42: β00071 & 00282

User avatar
akaTB
Posts: 298
Joined: Tue May 02, 2017 11:56 am

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by akaTB » Mon Jun 17, 2019 5:33 am

rprosperi wrote:
Sun Jun 16, 2019 10:51 pm
Also, I can't help but note that it's a shame that these easy-to-use Macs have such trouble. :x As a Windows user, I had trouble too; I had to click on the setup program. ;)
it just works...
:lol:
Greetings,
    Massimo

-+×÷ left is right and right is wrong :twisted: Casted in gold

User avatar
pcscote
Posts: 51
Joined: Tue May 02, 2017 10:12 am
Location: Near Montreal, Québec, Canada

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by pcscote » Tue Jun 18, 2019 1:44 am

Hello Bob,

Sorry for not coming back sooner.
StatsDoctor wrote:
Sun Jun 16, 2019 8:20 pm
:info:build ld: library not found for -lgcc_s.10.5
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [lpc21isp] Error 1
You are missing one of the gcc library.

You need to install the xcode command line tools.
  • Start a Terminal session (aka command line)
  • Install the xcode command tools, type the following:

    Code: Select all

    xcode-select --install [return]
  • if you do not have enough rights, Install the xcode command tools with root, try this:

    Code: Select all

    sudo xcode-select --install [return]
  • if it's already installed you will get this error:

    Code: Select all

    xcode-select: error: command line tools are already installed, use "Software Update" to install updates
  • exit the Terminal application
Assuming the xcode command line tools was not installed.
Do the above instructions, start another Terminal session and retry the DM-15L update procedure.
Let me known how it goes.

Sylvain
[DM1x/DM1xL/DM41/DM41L/DM42]

StatsDoctor
Posts: 26
Joined: Sun Jul 08, 2018 12:47 am
Contact:

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by StatsDoctor » Wed Jun 19, 2019 4:15 am

Hi Sylvain,

I tried what you suggested. I obtained the error that you mentioned, so the xcode command line tools were already installed. I then exited the Terminal application. After that, I started a new Terminal session, using the following three lines (with my comments in parentheses);

sudo port selfupdate (this updated the ports and noted that I have the latest version of MacPorts installed)

sudo port upgrade outdated (this let me know that everything was already up-to-date)

sudo port install lpc21isp (this did not install and gave the same error and log file as before)

Terminal is recognizing that the port is there but apparently does not install it. Do you have any other suggestions for me?

I even restarted my Mac just to make sure that this (lack of a reboot) was not causing the problem.

Thanks in advance,

Bob
Bob O.
DM42, DM15L, WP-34S, HP-42S, HP-32S, HP-32Sii, HP-15C; iOS: Free42, 42s (Byron), WP-34S, HP-15C

StatsDoctor
Posts: 26
Joined: Sun Jul 08, 2018 12:47 am
Contact:

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by StatsDoctor » Fri Jun 21, 2019 4:16 am

All,

Thanks for your help and for your answers to my questions.

I was finally successful in installing the lpc21isp port. I did another Google search and landed on the website
http://macappstore.org/lpc21isp. I found the following instructions there:
_________________________________________________________________
Install the App

Press Command+Space and type Terminal and press enter/return key.
Run in Terminal app:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homeb ... er/install)" < /dev/null 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.
Run:
brew install lpc21isp
Done! You can now use lpc21isp.
_________________________________________________________________

This worked great. It installed Homebrew with the first command and then the port with the second command. Very easy!

I then updated the DM 15L firmware using the instructions provided. These worked well.

Thanks to cdmackay for initially suggesting Homebrew. I think that the above instructions are even simpler than the ones that you suggested.

If you hear of anyone else having the problem that I had, you are welcome to refer them to this post!

Best,

Bob
Bob O.
DM42, DM15L, WP-34S, HP-42S, HP-32S, HP-32Sii, HP-15C; iOS: Free42, 42s (Byron), WP-34S, HP-15C

cdmackay
Posts: 84
Joined: Fri Oct 05, 2018 6:33 pm
Location: Cambridge, UK
Contact:

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by cdmackay » Fri Jun 21, 2019 1:33 pm

Glad it's working Bob.

Sylvain's macports method should have worked just as well, though, so that is rather odd.
Cambridge, UK
41CL 12/15C DM15/16 71B 17B/BII/bII+ 28S 42S/DM42 48GX 50g 35s 30b/WP34S Prime G2
& Casios, Rockwell 18R :)

User avatar
pcscote
Posts: 51
Joined: Tue May 02, 2017 10:12 am
Location: Near Montreal, Québec, Canada

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by pcscote » Mon Jun 24, 2019 11:15 pm

StatsDoctor wrote:
Wed Jun 19, 2019 4:15 am
sudo port install lpc21isp (this did not install and gave the same error and log file as before)
Hello Bob,
Like cdmackay said, it should have worked, anyway I am glad that the Brew version solved your problem.
Just be aware that you now have two porting solution installed in your system (Brew and MacPort).
Sylvain
[DM1x/DM1xL/DM41/DM41L/DM42]

StatsDoctor
Posts: 26
Joined: Sun Jul 08, 2018 12:47 am
Contact:

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by StatsDoctor » Fri Jun 28, 2019 9:43 pm

Hello Sylvain,

Thanks. Is there any harm caused by leaving both porting solutions installed on my computer? I have not noticed any conflicts, but would like to know if it would be better for me to remove one of the porting systems.

Thanks,

Bob
Bob O.
DM42, DM15L, WP-34S, HP-42S, HP-32S, HP-32Sii, HP-15C; iOS: Free42, 42s (Byron), WP-34S, HP-15C

cdmackay
Posts: 84
Joined: Fri Oct 05, 2018 6:33 pm
Location: Cambridge, UK
Contact:

Re: Firmware Update (v29) on DM 15L using a MacBook Pro

Post by cdmackay » Sat Jun 29, 2019 4:56 pm

I had both Brew and MacPorts installed on my last Mac for some time, never noticed a problem.

Of course, if you installed the same utility via both, some confusion may arise :)
Cambridge, UK
41CL 12/15C DM15/16 71B 17B/BII/bII+ 28S 42S/DM42 48GX 50g 35s 30b/WP34S Prime G2
& Casios, Rockwell 18R :)

Post Reply