I am trying to run a simple 'led blink' program using ESP32 and Arduino IDE, while setting it up I have used Silicon Labs CP210x driver (CP210x USB to UART Bridge VCP Drivers - Silicon Labs) as suggested in the hardware module. Initially my Windows system didn't detect it, so I manually added it.
Sketch uses 267933 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 20184 bytes (6%) of dynamic memory, leaving 307496 bytes for local variables. Maximum is 327680 bytes.
"C:\Users\admin\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4.6/esptool.exe" --chip esp32 --port "COM5" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode keep --flash_freq keep --flash_size keep 0x1000 "C:\Users\admin\AppData\Local\Temp\arduino\sketches\C5BFBB22C7463170D2728E91C796CD6D/sketch1.ino.bootloader.bin" 0x8000 "C:\Users\admin\AppData\Local\Temp\arduino\sketches\C5BFBB22C7463170D2728E91C796CD6D/sketch1.ino.partitions.bin" 0xe000 "C:\Users\admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2/tools/partitions/boot_app0.bin" 0x10000 "C:\Users\admin\AppData\Local\Temp\arduino\sketches\C5BFBB22C7463170D2728E91C796CD6D/sketch1.ino.bin"
esptool.py v4.6
Serial port COM5
A fatal error occurred: Could not open COM5, the port doesn't exist
Failed uploading: uploading error: exit status 2
I have been working on this from past couple of days and I have also tried different drivers of Silicon Labs but nothing worked.
I moved your topic to an appropriate forum category @shubhankar812.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
While I have no answer, it's likely that to solve this, someone's going to need a link to the exact product you're struggling with; there are seemingly hundreds of slightly different ESP32 modules, so if you can identify what you have, it may help.
Welcome to the forum!
I think your topic is the first topic you've made since you joined 14 hours ago,
and you've made your topic 14 hours ago!
please read this if you didn't already! https://forum.arduino.cc/guidelines
as for your problem:
did download the one highlighted in red?
Although I'm not very knowledgeable in this area, if windows does not detect it, I doubt manually adding it will help.
You must look at the cause why Windows did not detect it in the first place. One possible cause can be the cable; it might be a charge-only cable instead of a data/sync cable.