Troubleshoot Connecting STM32G031F6P6 through UART in STM32CubeProgrammer
I'm trying to load firmware through UART (not SWD/ST-Link) to my STM32G031F6P6 prototype board using STM32CubeProgrammer but can't get it to work (although it works fine through SWD and STM32CubeIDE). Note: BOOT0 and SWDCLK are shared on the same Pin 19 (PA14/15) for this MCU. Am using RS422/485 transceiver (ADM3485EARZ) to go between PC USB/RS4222 (DTECH USB 2.0 to RS422/485 dongle) and MCU UART1. Have verified that serial transceiver works properly after firmware is properly loaded through SWD. Per AN2606 Section 41.1, I tried 2nd Option (nBOOT_SEL is NOT checked, nBOOT1 is checked, and nBOOT0 is checked - set previously using SWD) of Pattern 11 by tying Boot Pin high (VDD), pressing reset, hitting connect on STM32CubeProgrammer v2.10.0, releasing reset. Get "Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again…". Have tried variations over many months and am stumped. How do I know STM32CubeProgrammer is sending 0x7F per AN2606? Does it matter what bootloader version is loaded? How do I find that out? When I connect successfully using ST-Link in STM32Programmer the "Bootloader Version" in the lower right "Target information" section is "-". But AN2606 indicates only v5.3 should work on my 20pin device. Advice appreciated.
Screenshot of User Configuration using ST-Link
Screenshot when trying to connect through UART

