Author Topic: Mplab 6 Universal binary problems on MacOS (Apple silicon)  (Read 1240 times)

0 Members and 1 Guest are viewing this topic.

Offline newtekuserTopic starter

  • Frequent Contributor
  • **
  • Posts: 356
  • Country: us
Mplab 6 Universal binary problems on MacOS (Apple silicon)
« on: December 15, 2023, 05:28:24 am »
Been using Mplab 6.00 on my M2 Pro MacBook using Rosetta w/o issues. Lately I noticed there are newer version of Mplab that are supposed to work without x86 translation out of the box, namely versions 6.05, 6.10 and 6.15.
How do I know? https://support.apple.com/en-us/HT211861
I followed the KB from Apple above and the binaries show as "universal".
However, while I can successfully start the installation, it borks out at the end complaining about Java for x86 architecture. The Mplab IDE also crashes on load of course.

Has anyone had any experience running these latest versions on Apple silicon? I'm surprised they can be installed even without Rosetta, but fail to run because not everything in the package was ported to Arm.
 

Offline ivan747

  • Super Contributor
  • ***
  • Posts: 2045
  • Country: us
Re: Mplab 6 Universal binary problems on MacOS (Apple silicon)
« Reply #1 on: December 15, 2023, 04:33:29 pm »
Sounds like it's not completely ARM yet. MacOS only asks you to install Rosetta once. Do you have it installed? For what it's worth, my experience has been great, I've never had any translation technology be so reliable as Rosetta. I've never had a program not work unless the author programmed it to refuse Rosetta.
 

Online nfmax

  • Super Contributor
  • ***
  • Posts: 1561
  • Country: gb
Re: Mplab 6 Universal binary problems on MacOS (Apple silicon)
« Reply #2 on: December 15, 2023, 04:44:47 pm »
Maybe check that you have an Apple Silicon native Java JVM installed?
 

Offline newtekuserTopic starter

  • Frequent Contributor
  • **
  • Posts: 356
  • Country: us
Re: Mplab 6 Universal binary problems on MacOS (Apple silicon)
« Reply #3 on: December 16, 2023, 10:52:23 pm »
The installer throws the error based on the architecture of the java file included in the installation package. Does not look like these version are fully ARM ready yet.
I suppose I have to settle with using Rosetta for now, which fortunately has served me well.
 

Offline fchk

  • Regular Contributor
  • *
  • Posts: 245
  • Country: de
Re: Mplab 6 Universal binary problems on MacOS (Apple silicon)
« Reply #4 on: December 21, 2023, 01:40:21 pm »
Microchip says:
https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide

"MPLAB X IDE only supports computers with processors designed with Intel® 64 or AMD® 64-bit architectures."

Sounds clear, right?
 

Offline newtekuserTopic starter

  • Frequent Contributor
  • **
  • Posts: 356
  • Country: us
Re: Mplab 6 Universal binary problems on MacOS (Apple silicon)
« Reply #5 on: December 21, 2023, 07:15:38 pm »
Microchip says:
https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide

"MPLAB X IDE only supports computers with processors designed with Intel® 64 or AMD® 64-bit architectures."

Sounds clear, right?

Clear as mud. The statement above confirms what I'm seeing. However, the MPLAB X IDE binary included in the last two versions is identified as Universal which means it should run on ARM as well. According to wikipedia: https://en.wikipedia.org/wiki/Universal_binary

Quote
The universal binary format is a format for executable files that run natively on either PowerPC or Intel-manufactured IA-32 or Intel 64 or ARM64-based Macintosh computers.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf