Hope someone has managed to solve the problem I have, recently changed to a macbook pro with Monteroy 12.3 os, using a ESP32 board it will not upload to the board and constantly runs an exit error 2.
I can upload to the board using an old windows machine, but no look using the mac.
I'm using Arduino 2.1.0 with a D1 Mini Wemos ESP-WROOM-32
The full error and upload syntax is:
Sketch uses 274237 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 22704 bytes (6%) of dynamic memory, leaving 304976 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbmodem56720061801
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 64:b7:08:40:1b:38
Uploading stub...
A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)
Failed uploading: uploading error: exit status 2
This is using the board manager DOIT ESP32 DEVKIT V1 which works fine on the Windows machine.
My Apple designed adaptors always worked for me ... The fact that the Serial monitor works shows the cable is ok and the device properly seen and handled on the USB port.... so not sure what's going on.... Are you sure you picked the right board definition?
side note: you can find USB C to Micro USB cables (or other types of USB, even the bulky port for the UNO) so that's what I'm using nowadays
The uploading error is the same each time, its strange it connects fine but times out not matter what settings. I've also tried adjust the upload speed without any difference.