Using UART bootloader on STM32G030J6
I am attempting to activate the bootloader mode on the STM32G050J6 (SO8N package). It is unclear to me from the documentation which pins are to be used. Currently, I am using pins 1 and 8 (USART1_RX and USART1_TX in the documentation respectively) as USART pins. Additionally, I am using pin 8 as BOOT0 pin. So what I do is as follows:
- Short RST to 0V net
- Short BOOT0 to 3.3V net
- Connect RX and TX pins to USB to UART adapter
- Apply power to the board and the adapter at the same time
- Remove short from RST
- Remove short from BOOT0 (which is also USART1_TX)
Then when I attempt at activating the bootloader through the STM32CubeProgrammer app, I get an error saying that the program did not receive an acknowledge and the bootloader could not be activated.
Alternatively, I have access to a ST-LINK v2 device. My objective really is to program the micro and be able to use UART, but the UART pins conflict with the SWD pins.
