How to Erase flash of ESP32

Hi
Pls suggest the solution…I tried to erase flash of ESP32 via COM port…Not happening.

Is COM23 correct?

Can you manually put the ESP32 into bootloader mode by holding down the FLASH button (GPIO0), then pressing the reset (/en) button while FLASH is still being pressed, then release FLASH again?

Hi Max…
I did the same…but there was no response, the flash process continued to end.

Regular uploading works?

Hi Max…
This has been resolved…the switch was faulty and IO0 was not getting pulled down.
Thanks