Question
STM32G031K8 how to setup BOOT pin?
The MCU STM32G031K8T6 has the BOOT pin is in the same pin as the SYS_SWDIO.
Should I just disregard the BOOT pin and allocate the function to SYS_SWDIO?
I am not sure what is the function from the BOOT pin... the internet says:
- “Flash Memory Boot (Normal Operation): When the BOOT pin is pulled low (to ground), the microcontroller boots from its internal main flash memory, running the primary user application. [1, 2]
- System Memory Boot (Firmware Updates / ISP): When the BOOT pin is pulled high (to VCC), the chip bypasses user flash and boots into a factory-installed, read-only bootloader in system memory. This allows you to program or update the chip's firmware via serial interfaces like UART, USB, SPI, or I2C without needing an external hardware programmer. [1, 2]”
The Nucleo (Nucleo NUCLEO-G031K8 Eval Kit) schematic for the G03 MCU does uses SYS_SDIO (the T_JTCK),and depopulates the pull down resistor from BOOT.
Will my board NOT run my code automatically UNLESS I pull that resistor down?
