Hello, i am trying to upload a sketch to the ESP, but it always gives me errors once it starts connecting. this is what it states:
Sketch uses 289917 bytes (22%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18376 bytes (5%) of dynamic memory, leaving 309304 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port /dev/cu.usbmodem54E20192131
Connecting....
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 74:4d:bd:71:45:70
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
In the arduino IDE it recognizes the module and i already downloaded and installed the CH34xVCPDriver.
I am on a macbook pro intel core (2017) OS12.0.1
The usb-c cable i am using is from a flash harddrive, so it does carry power and data in both directions.
This is my first try with both arduino or esp stuff, electronics in general...
I am on a Silicon Mac M3, and I have never seen that error even on my older Macs. Just for the heck of it, does that board have a button that needs to be pressed during the upload? Also have you checked the migration document, some things have been broke for S3 boards and V3 board config files. A quick check is to roll your boards back from 3.0.x to 2.0.17.
This is in the BOARDS, NOT library. NOT Arduino ESP32, just esp32
Tried this, but still not working. I already tried with pressing all the buttons and with another usb slot on my mac. I figured it can't be the slot as arduino recognizes there is a board connected to the port...
The fact it got your MAC address means the cable is good. The only thing I want you to try is when you see that message next attempt, press the button labelled BOOT and keep it pressed until the upload is done or it fails.