Hi @faheem7130. I can see you selected "/dev/cu.wlan-debug" from Arduino IDE's Tools > Port menu. That is an internal serial port on your computer, not the port of the ESP32-S3. The incorrect port selection is the cause of the upload failure.
Please perform this experiment to determine the correct port to select:
Connect the Arduino board to your computer with a USB cable (if it is not already).
Select Tools > Port from the Arduino IDE menus. If one of the ports in the menu is labeled with the board name (e.g., "/dev/cu.usbserial-211410 (ESP32 Family Device)"), that is the port of your Arduino board.
If you saw the port labeled with the board name in the Tools > Port menu, select that port and try uploading again.
If this doesn't solve the problem, please reply here on this forum thread with the answers to the following questions:
While following those instructions, did you see a port in the Tools > Port menu that was labeled with the board name?
If you did see a labeled port, was the upload successful after you selected that port?
thank you for your response i tried with all the ports still it is showing same error .but i have another esp32 dev its working properly but the new esp32 s3 is not working still showing same error
I have been trying to figure this out for over a week now, same issue:
"A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)"
I am using an intel Mac (incase this is relevant) and an ESP32 S3 N16R8 and tried all tool settings and i just keep getting this error. Some says that it's the usb connection, usb cable issue but i tries all ports of my mac, i have tried multiple cables and i even tries multiple ESP32 S3 boards, incase the board was faulty, but nothing is working, I have successfully uploaded codes on my esp32-wroom boards and also C3 but when i try with S3 i am getting this issue. From the two UBS ports (COM and USB) i am using the "COM" port (I did try the other as well).
@shahriarrivan was it the github issue that resolved your problem or swapping the ArduinoIDE settings? Im having the same problem and have been trying to edit the settings, here are mine. Thanks for any help !