Failed to connect to ESP32 ROM

Hello! I’m trying to flash esp32 but i have some problem:
Loaded led/esp32 version 1.0 (20220331-073529)
Opening COM15 @ 115200…
Connecting to ESP32 ROM, attempt 1 of 10…
Connecting to ESP32 ROM, attempt 2 of 10…
Connecting to ESP32 ROM, attempt 3 of 10…
Connecting to ESP32 ROM, attempt 4 of 10…
Connecting to ESP32 ROM, attempt 5 of 10…
Connecting to ESP32 ROM, attempt 6 of 10…
Connecting to ESP32 ROM, attempt 7 of 10…
Connecting to ESP32 ROM, attempt 8 of 10…
Connecting to ESP32 ROM, attempt 9 of 10…
Connecting to ESP32 ROM, attempt 10 of 10…
Error: /src/cli/flash/esp/rom_client/rom_client.go:172: failed to connect to ESP32 ROM
/src/cli/flash/esp/rom_client/rom_client.go:124: failed to connect to ROM
/src/cli/flash/esp/rom_client/rom_client.go:110: failed to create ROM client
/src/cli/flash/esp/flasher/common.go:59: Failed to talk to bootloader.
See Home · espressif/esptool Wiki · GitHub
for wiring instructions or pull GPIO0 low and reset.
/src/cli/flash/esp/flasher/flash.go:80:
/src/cli/flash.go:231:
/src/cli/main.go:194: flash failed
What should i check?
Thanks

I assume this is on windows from the mos gui?
Are you just clicking the flash button?

Do you know if your device is operational in any way?

  • Are you able to see any serial comms coming from the device when powered up?
  • Have you attempted to flash from another tool like Arduino?

it was working couple hours ago, then we connect a LED and restart the device and we have this mistake.

no, i have not

something strange with COM port, i try to connect to serial port via Putty, but “Unable to open connection to COM15. Unable to open serial port”

Check if there are several instances of mos running and kill all of them.