Failed to connect to ESP32: No serial data received

Hi, I am new to ESP32 Chips and Arduino. I tried to upload a very basic program to my chip but it is showing an error. I am using a ESP32-WROOM-32E chip and a ESP32-DevKitS-V1.1 board. Under the board manager and other related categories I have tried multiple permutations and combinations but none of them work.

FQBN: esp32:esp32:esp32:UploadSpeed=115200
Using board 'esp32' from platform in folder: 
/Users/itdevelopment/Library/Arduino15/packages/esp32/tools/esp-x32/2302/bin/xtensa-esp32-elf-size -A /Users/itdevelopment/Library/Caches/arduino/sketches/87B45D10C7BA591E1F812A8E25EF57DF/trialesp32wroom.ino.elf
Sketch uses 271565 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20240 bytes (6%) of dynamic memory, leaving 307440 bytes for local variables. Maximum is 327680 bytes.
"/Users/itdevelopment/Library/Arduino15/packages/esp32/tools/esptool_py/4.6/esptool" --chip esp32 --port "/dev/cu.usbserial-24120" --baud 115200  --before default_reset --after hard_reset write_flash  -z --flash_mode keep --flash_freq keep --flash_size keep 0x1000 "/Users/itdevelopment/Library/Caches/arduino/sketches/87B45D10C7BA591E1F812A8E25EF57DF/trialesp32wroom.ino.bootloader.bin" 0x8000 "/Users/itdevelopment/Library/Caches/arduino/sketches/87B45D10C7BA591E1F812A8E25EF57DF/trialesp32wroom.ino.partitions.bin" 0xe000 "/Users/itdevelopment/Library/Arduino15/packages/esp32/hardware/esp32/3.0.7/tools/partitions/boot_app0.bin" 0x10000 "/Users/itdevelopment/Library/Caches/arduino/sketches/87B45D10C7BA591E1F812A8E25EF57DF/trialesp32wroom.ino.bin" 
esptool.py v4.6
Serial port /dev/cu.usbserial-24120
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Failed uploading: uploading error: exit status 2```



```int LED_BUILTIN = 2;
void setup() {
 pinMode (LED_BUILTIN, OUTPUT);
}
void loop() {
 digitalWrite(LED_BUILTIN, HIGH);
 delay(1000);
 digitalWrite(LED_BUILTIN, LOW);
 delay(1000);
}```

Did you try all the troubleshooting steps?

Yes, I tried the steps like pressing the boot button, checking the modem,etc. The only thing I haven't tried yet is installing a driver but that is because the driver is currently being installed in the computer. I also tried 2-3 chips and 2 different boards on different computers. Everytime I received the same error message.

I've never used that board but it has the CP2102 IUB-UART IC, so the driver should already be installed.
The error indicates a connection problem somewhere. I'm sure you checked all those little spring contacts.

Yes, I did check those contacts and I am trying with the driver and it still doesn't work, so maybe I am doing something wrong. But thank you so much for your help!

I don't know if you are using a Mac or linux but it may be something with the operating system.
--port "/dev/cu.usbserial-24120"

Can't help there I use Win

I am using Mac so I think it might be the OS or just some security firewalls installed on it because I tried it on Windows and worked fine. Thank you for mentioning the OS because changing it did help me.

I'm surprised, most people who have connection problems are on Windows.
Glad you got it working!

I am working on work computer so there are more restrictions on the mac for external drivers, etc so maybe that's the reason