ArduinoOTA - Segmentation fault (Uno R4 Wifi / Apple M2)

Is ArduinoOTA working with Apple M* processors?

I'm getting segmentation fault errors when uploading on my MacBook Pro M2. Is it expected?

I also get a segmentation fault when running the following:
/Users/reimund/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0/bin/arduinoOTA –version

Maybe because it’s still an intel target ?

Ensure that Rosetta 2 is installed on your system. This allows Intel-based applications to run on Apple Silicon and navigate to your Applications folder, find the Arduino IDE, right-click on it, and select “Get Info.” In the window that appears, check the box labeled “Open using Rosetta.”

If that does not fix it, check if the OTA tool also needs the same selection (I don’t use that)

download a Mac version of the tool

Thanks, I think I got v1.4.1 to work.

I’m not sure how to properly point to the downloaded version. I simply replaced the exectuable in the 1.3.0 folder. Not very pretty but it seems to do the trick.

I do have some weird issues with the network port, never got it working to upload via the IDE, but from the command line it seems to work.

1 Like