I have a custom setup where debug port is disabled. I use ST-LINK for uploading. PlatformIO cannot connect to the board after initial upload because debug port is disabled in Arduino startup sequence.
At the same time, ST-LINK Utility connects and uploads the firmware if the mode is set to “Connect under reset”. Is it possible with OpenOCD and PlatformIO?