fatal error - program a wemos D1 mini pro

I have here a wemos D1 mini pro which I use already about 2 month. Till now I had no problem with programming.
After I tried a sketch and would like to upload an other sketch I will get now the following error:

Arduino: 1.8.13 (Windows 10), Board: “LOLIN(WEMOS) D1 mini Pro, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 16MB (FS:14MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600”

Executable segment sizes:

IROM : 309432 - code in flash (default or ICACHE_FLASH_ATTR)

IRAM : 27760 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs…)

DATA : 1280 ) - initialized variables (global, static) in RAM/HEAP

RODATA : 1888 ) / 81920 - constants (global, static) in RAM/HEAP

BSS : 25600 ) - zeroed variables (global, static) in RAM/HEAP

Der Sketch verwendet 340360 Bytes (32%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.

Globale Variablen verwenden 28768 Bytes (35%) des dynamischen Speichers, 53152 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.

esptool.py v2.8

Serial port COM4


Chip is ESP8266EX

Features: WiFi

Crystal is 26MHz

MAC: f4:cf:a2:d8:43:99

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 460800

Traceback (most recent call last):

File “C:\Users\privat\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.3/tools/upload.py”, line 65, in


File “C:/Users/privat/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool\esptool.py”, line 2916, in main


File “C:/Users/privat/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool\esptool.py”, line 104, in inner

return func(*args, **kwargs)

File “C:/Users/privat/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool\esptool.py”, line 705, in change_baud

self.command(self.ESP_CHANGE_BAUDRATE, struct.pack(’<II’, baud, second_arg))

File “C:/Users/privat/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool\esptool.py”, line 347, in command

p = self.read()

File “C:/Users/privat/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool\esptool.py”, line 292, in read

return next(self._slip_reader)

File “C:/Users/privat/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.3/tools/esptool\esptool.py”, line 2045, in slip_reader

raise FatalError(“Timed out waiting for packet %s” % waiting_for)

esptool.FatalError: Timed out waiting for packet header

esptool.FatalError: Timed out waiting for packet header

The connection to my port is ok.
When I press the reset button on the wemos I will get the following message:

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

Hope somebody can help me how I can program again my wemod D1.
kindly regards for any answer.