Esp 32 uploading a sketch

Open the serial monitor

Press and hold the BOOT button.
Press and release the RESET (or EN) button.
Release the BOOT button.

You should now see something like this in your serial monitor

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

Upload something
Press and release the RESET (or EN) button again if necessary.

The OP may want to review the post#16 where a line of the image reads "cpu_start: Single Core mode" and the ESP32 module being selected. I do not know which of the ESP32's in the list are the single core modules but selecting a dual core ESP32 to upload to with a single core model is reason for code upload failure.

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download

During the download, I did so.
It helped. Thank you very much!
Please tell me, what is the reason for this?

Normally it should all be automatic, but the reset "system" is not very reliable.