Background:
I purchased an e-paper 4.26" display, an e-Paper ESP32 driver board, and an e-paper adapter from Waveshare. All three were plugged together and connected to my trusty Mac with the same micro USB cable used to program many ESP32 devices in the past. The IDE and all libraries are updated.
Simple code compiles, but when I upload, I get this:
Sketch uses 230493 bytes (17%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20968 bytes (6%) of dynamic memory, leaving 306712 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbmodem54E20353551
Connecting.....
Chip is ESP32-D0WDQ6 (revision v1.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:e9:0e:71:d5:44
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
I'm using ESP32 Dev Module Board on Port /dev/cu.usbmodem54E20353551 Serial Port (USB)
I can connect up a HiLetgo ESP-WROOM-32 ESP32 ESP-32D Development Board
ESP32 Dev Module Board on Port /dev/cu.usbserial-0001 Serial Port (USB)
And everything works as expected, with no problems.
With the Waveshare board that fails, I've tried holding boot when uploading, En and Boot, then releasing En; I tried standing on one foot when uploading, but nothing works. Oh, and there are two micro dip switches on the Waveshare driver board. The directions say 2 needs to be on to load, and for teh 4.26" display board, B was selected, but I've tried all combinations, no joy.
Last thoughts: I guess it could be the USB-to-Serial port, but IDE picks it up when I plug the boards in; it appears to read the board info before the upload attempt, and it does connect. And I'm running the latest version of MAC OS.