2025-08-22 5:25 AM - edited 2025-08-22 5:27 AM
Hello world :)
I found STLINK-V3MODS extremely useful for automation testing (NuttX RTOS). I have ~50 different boards, some of them does not have on-board flashing capability, thus either JTAG/SWD or UART needs to be used.
Most of the boards that use UART based BootROM need external Reset and Boot pins control. These are achieved by RTS and DTR output lines of USB-to-UART converters (i.e. CP2101, PL2303, FTDIx232, CH3xx, etc).
I discovered that STLINK-V3MODS can have second UART port enabled by flashing firmware and selecting proper configuration. Both UARTs show up as separate serial port devices (i.e. /dev/cuaU0 and /dev/cuaU1 on FreeBSD). That gives two UARTS + JTAG/SWD over single USB connection, potentially serving 3 different boards under test. But VCP has no control lines, and Bridge UART has RTS/CTS (output/input) not RTS/DTR (output/output). That decreases possible use cases from 3 to 1 (SWD+VCP to automate testing of single board).
My question is would it be possible to add new configuration to STLINK-V3MODS selectable in firmware flashing upgrade tool where Bridge UART has RTS/DTR alternatively to RTS/CTS? DTR line may replace the CTS (pin 2 accroding to UM2502 Rev2 Page 17/28). If peripheral matrix prevents routing DTR to a pin where CTS currently is a software DTR implementation with a GPIO would be fine too (no need to be fast).
That would open up a whole new set of possible applications to STLINK-V3MODS and probably increase interest / sales :)
Thanks :)
Tomek