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);
}```