While my ESP32 CAM and my Doiit ESP32 DEVkit V1 and others are uploading fine on my via dev/cu.usbserial-142120 on my iMac my Elecrow 5" Display refuses to upload.
"Uploading .pio/build/esp32-s3-devkitc-1-myboard/firmware.bin
esptool.py v4.5
Serial port /dev/cu.usbserial-142110
A fatal error occurred: Could not open /dev/cu.usbserial-142110, the port doesn't exist
*** [upload] Error 2"
Different boards using different Serial to USB chips (CH34x, CP210x).
The ESP32-S3 may also use it’s internal USB serial interface… So this might be a missing driver in case of an external USB chip or you’re just using the wrong port (name) ?
think all drivers are installed, as I had no similar problems the last 6 years with different Arduino and ESP8266 or ESP32 boards, but to be shure i reinstalled both drivers still same problem. Here is the complete log
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Using manually specified: /dev/cu.usbserial-142110
Uploading .pio/build/esp32-s3-devkitc-1-myboard/firmware.bin
esptool.py v4.5
Serial port /dev/cu.usbserial-142110
Connecting....
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 18:8b:0e:fe:fe:2c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
A fatal error occurred: Unable to verify flash chip connection (No serial data received.).
*** [upload] Error 2
No problem on my Linux Mint Box, same code, same Display. I am not happy to use the Linux box, a my iMac has better Screen 27" better CPU, more disk space and is dual screen, so much more comfortable.
Auto-detected: /dev/ttyUSB0
Uploading .pio/build/esp32-s3-devkitc-1-myboard/firmware.bin
[esptool.py](http://esptool.py/) v4.9.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 18:8b:0e:fe:fe:2c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00003fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x001bdfff...
SHA digest in image updated
Compressed 14896 bytes to 10242...
Writing at 0x00000000... (100 %)
Wrote 14896 bytes (10242 compressed) at 0x00000000 in 0.4 seconds (effective 292.8 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 119...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (119 compressed) at 0x00008000 in 0.1 seconds (effective 330.0 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.2 seconds (effective 432.5 kbit/s)...
Hash of data verified.
Compressed 1759392 bytes to 342345...
Writing at 0x00010000... (4 %)
Writing at 0x000a93af... (9 %)
Writing at 0x00139905... (14 %)
Writing at 0x00145204... (19 %)
Writing at 0x001538a4... (23 %)
Writing at 0x00161d66... (28 %)
Writing at 0x00166d1a... (33 %)
Writing at 0x0016c154... (38 %)
Writing at 0x00171297... (42 %)
Writing at 0x001765d2... (47 %)
Writing at 0x0017b6dc... (52 %)
Writing at 0x001805fe... (57 %)
Writing at 0x00185528... (61 %)
Writing at 0x0018a6c2... (66 %)
Writing at 0x001901bd... (71 %)
Writing at 0x001959c7... (76 %)
Writing at 0x0019aec0... (80 %)
Writing at 0x001a3695... (85 %)
Writing at 0x001abd90... (90 %)
Writing at 0x001b2cbe... (95 %)
Writing at 0x001b835e... (100 %)
Wrote 1759392 bytes (342345 compressed) at 0x00010000 in 15.2 seconds (effective 927.2 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Display is CrowPanel ESP32 Display-5 Inch SKU:DIS07050H
I guess all your ESP32 boards you have used in the past are having an external USB to Serial bridge chip like CH34x or CP210x and your new board does not have such a chip and is using the ESP32-S3 built in USB port.
Please answer my question: Is there a way to list all available ports (connected devices) on a mac?
I normaly use the terminal with ls -l /dev/c* do to get a list. With normaly only one device is connect the the name is /dev/cu.usbserial- xxxxxxxx most often dev/cu.usbserial-142110.
In Arduino IDE the same port is shown.
If not found automatic I entered upload:port = in the platformio.ini and it worked always.
As it look for me the esptool does mean it is not the correct ESP32 and stops, but why on OS X- and not on Linux