Uploading to ESPDuino Fail

I’m using ESPDuino boards a lot. So far without any issues.

Now I installed platformIO and try to compile and upload program to one of my boards.
The board as connected works perfect with the Arduino IDE. I can upload programs from the Arduino IDE. Before trying PlatformIO I made sure Com16 is free.

This is the plaformIO.ini
[env:espduino]
platform = espressif8266
board = espduino
framework = arduino
upload_speed = 115200

When I try to upload I get the following error:

Auto-detected: COM16
Uploading .pioenvs\espduino\firmware.bin
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
*** [upload] Error 2

Com16 is the right port.
I can see that the ESP is being reset.
What ever I do I have not been able to upload the simplest program to the ESP.
I google for this error and found older entries (2018) that say solved in latest software . I assume having the latest platform software. Some of the solutions I did not understand at all,

Help appreciated. For now I put plafform IO on the side.

Does your board have RST and FLASH button? Then enter bootload mode by holding down FLASH and then pressing RST (Home · espressif/esptool Wiki · GitHub). Or connect GPIO0 (flash button pin) to GND and then press reset. Does uploading then work?