Sketch uses 300905 bytes (22%) of program storage space. Maximum is 1310720 bytes.
Global variables use 18408 bytes (5%) of dynamic memory, leaving 309272 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port /dev/cu.usbmodem...
Connecting....
Chip is ESP32-S3 (revision v0.2)
Features: WiFi, BLE
Crystal is 40MHz
MAC: (it was written)
Uploading stub...
A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)
Acccording to the internet I have tried to change the Serial, Mhz(from 240 to 40), reconnected it, but nothing has helped me. I am using Mac and Arduino IDE 2.3.3. Also Arduino Nano works properly.
Now setting are:
The code is(I used it for checking, because this MCU is new):
#include <Arduino.h>
#define LED 2
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(LED, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED, HIGH);
Serial.println("LED is on");
delay(1000);
digitalWrite(LED, LOW);
Serial.println("LED is off");
delay(1000);
}