Arduino IDE macbook pro intel 64bit not showing any port

Hi, I switched from the Apple Silicon M1 platform (MacBook Pro M1 2020) to the Intel platform (MacBook Pro i7 2019), I had to switch to the Intel version of Arduino IDE to allow me to program my board (atmega328p xplained mini). The problem I've encountered is that Arduino IDE is not able to get the ports available on my MAC.
Below I list the attempts I made to identify if the problem was not related to the IDE:

  • testing all the USB-C ports on the computer
  • changing USB hub (working on MacBook Pro M1)
  • tried different cables
  • tried different boards
    I checked if the board was being identified by the computer via terminal and the following is the result, indicating to me that the board exists and the computer identifies it.

The last attempt I made allowed me to upload the compiled sketch via upload via the programmer, and although it now allows me to be able to program the board, the problem remains that the IDE is unable to identify the other ports on the computer, so if i need to burn another board i will not be able to.
No drivers are needed for this board since the atmega832p uC is connected via another uC from ATMEL only for uC USB communication and programming.
The version of MacOS that I'm using is Sonoma 14.6.1
The version of the Arduino IDE I'm using is 2.3.2

I'm not a Mac user so can't really advise.

Does any of the /dev/tty* devices disappear when you disconnect the board?

You will need the driver for the "another uC from ATMEL"; it might be installed or it might be a standard driver, as said not a Mac user so I do not know.

Yes in the photo that I shared, I connected and then disconnected the device, it appears as the /dev/tty.usbmodem143202.
The fact that I may be using a driver for using the integrated USB is strange since in the Arm-based Macbook it was working without adding any driver, and the new one is the clone based on the backup that I made from the old system.

while checking the logs of the Arduino IDE i found out that is the problem, but i'm not sure how to fix it.

time="2024-09-13T13:11:56+02:00" level=info msg="starting discovery builtin:serial-discovery process"
2024-09-13T11:11:56.405Z daemon INFO time="2024-09-13T13:11:56+02:00" level=error msg="Discovery builtin:mdns-discovery failed to run: discovery builtin:mdns-discovery process not started: fork/exec /Users/void/Library/Arduino15/packages/builtin/tools/mdns-discovery/1.0.9/mdns-discovery: bad CPU type in executable"
time="2024-09-13T13:11:56+02:00" level=error msg="Discovery builtin:serial-discovery failed to run: discovery builtin:serial-discovery process not started: fork/exec /Users/void/Library/Arduino15/packages/builtin/tools/serial-discovery/1.4.1/serial-discovery: bad CPU type in executable"

Since I found this thread about a similar problem to mine I also checked the mdns-discovery version on my computer, I'm not sure if there are new versions and how I should install them.

void ~$ ls ~/Library/Arduino15/packages/builtin/tools/mdns-discovery
1.0.9

If you copied an installation over from one machine to another one, you need to make sure that the architectures are the same.

If you did a fresh install, Issue to install tools and library due to security - #8 by ptillisch might get you on the way.

Yeah I fix it just by doing a clean installation of the program, since i was on arm based CPU the software when i got to x86_64 was not removed, the problem for anyone that moves from M1 back to Intel is to not use a backup but the integrated software from apple that will remove every executable allowing for the programs to request new ones. To fix it i only deleted this folder

~/Library/Arduino15
1 Like

At least a friend of mine that have done the same thing didn't have any problem like mine

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.