Upload HID bootloader with STM32CubeProgrammer Here is the table with jumper configuration: BOOT0 This isn’t often used, usually, you’re doing something tricky like a temporary bootloader or the like. Load code into RAM (JTAG, runtime) and then boot/run from there.
You can load flash via JTAG, the on-chip bootloader (above), etc. In normal operation, your code will reside in flash, and on Power-On Reset (POR), the CPU will fetch the reset vector and initial stack pointer (SP) from flash. Main flash memory: is where your code typically goes.This allows you to load (program) code into the device from an external interface such as UART or USB. Boot from System Memory: that invokes the on-chip bootloader, which is present in the chip directly from the factory before you’ve programmed anything into the on-chip flash.