Create Agent cannot open port COM6 for my ESP32-WROOM-32

I am working on project on ESP-32-WROOM-32 with Arduino Cloud when i run and this happen

/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:esp32 --build-cache-path /tmp --output-dir /tmp/1781075383/build --build-path /tmp/arduino-build-043668DA683B6FC5891FCE31EB93339B  /tmp/1781075383/Untitled_3_jun21b
[info] Sketch uses 910809 bytes (69%) of program storage space. Maximum is 1310720 bytes.
[info] Global variables use 40640 bytes (12%) of dynamic memory, leaving 287040 bytes for local variables. Maximum is 327680 bytes.

Flashing with command:C:/Users/teego/.arduino-create/esp32/esptool_py/4.2.1/esptool.exe --chip esp32 --port COM6 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 C:/Users/teego/AppData/Local/Temp/extrafiles2317549380/Untitled_3_jun21b.bootloader.bin 0x8000 C:/Users/teego/AppData/Local/Temp/extrafiles2317549380/Untitled_3_jun21b.partitions.bin 0xe000 C:/Users/teego/AppData/Local/Temp/extrafiles2317549380/tools/partitions/boot_app0.bin 0x10000 C:/Users/teego/AppData/Local/Temp/arduino-create-agent1862592877/Untitled_3_jun21b.bin
esptool.py v4.2.1
Serial port COM6

A fatal error occurred: Could not open COM6, the port doesn't exist
Executing command: exit status 2

I've moved your topic to a section oft he forum that is more suitable to board detection and upload problems.


Is COM6 indeed the COM port? Does it disappear when you disconnect the board? If not, what does Windows device manager thing of your board?

I'm not familiar with the ESP32 so can't advise further.