What is the right/best boot loader port to use with STM32CubeIDE and STLINK V3Set?
I have read the IDE users' manual, and it just seems to assume that the boot loader connection exists. The V3set has multiple methods to connect (just as the boot loader does, i.e. serial, i2c, SPI, USB.)
I'm designing my first STM32 application board (with the STM32G474 if that matters) and trying to decide whether I implement the serial bootloader/reset circuitry that exists on the demo boards, or just leave a few pins of an I2C or SPI interface available on the board which I'd connect to the STLINK with jumpers.
It does bring up the question which I might have missed in the documentation: is it possible to boatload through the SWD/JTAG interface?
What I'm guessing is that the IDE resets the MCU, sets the appropriate registers in the MCU to enable the boot loader to start scanning all the serial options, sets a breakpoint in the user code to be downloaded, and then waits for the download to complete and the user code to run. For this to happen do I need two connections to the board under development (SWD/JTAG *and* one of the STLINK's serial options?
Sorry to be noob on this, but it's a lot of documentation to digest and I always wonder if I'm missing something (like I just discovered the boot loader document yesterday!)
Thanks!
