Remote flashing via TCP with STM32_Programmer_CLI and stlink_server
Hi all,
I'm looking for a way to remotely *flash* a B-U585I-IOT02A | Product - STMicroelectronics eval board using the built-in STLINK-V3.
Remotely means over TCP. Can be at the same computer (e.g., to pass-through debuggers to Docker containers), or across computers.
This works well with GDB for debugging, but I need this to get running with flashing, too.
Questions:
- Is there a way to make STM32_Programmer_CLI or related ST apps connect via TCP instead of directly to the debugger? I found ST-LINK-SERVER | Software - STMicroelectronics which seems to create the TCP bridge, but do any ST tools actually use it?

- Are you aware of this working with free tools like openocd?
I could also flash via GDB, but I'm concerned about the special parts like trust-zone, option bytes, etc. Plus, I'm evaluating Zephyr, and the default way to flash the board is to use the stm32cubeprogrammer: B-U585I-IOT02A Discovery kit — Zephyr Project Documentation
Thanks.
