2024-08-28 02:28 PM - edited 2024-08-28 02:29 PM
For the STM32G47xxx microcontroller, the transition to the system bootloader is fair by changing the optional bits or by transitioning from the user space. Setting the required optional bits forces the use of a programmer and something like St-Link Utility or CubeProgrammer.
Is it possible to flash the microcontroller without using a programmer? Thus, excluding the JTAG/SVD port from the target device. Flash is not allowed before installing the microcontroller into the device.
Solved! Go to Solution.
2024-08-28 02:45 PM - edited 2024-08-28 02:47 PM
You can hold BOOT0 high during reset to boot into the bootloader. Default values are BOOT_LOCK=0, nBOOT1=1, nSWBOOT0=1.
Once in the bootloader, you can access the device through any of the supported interfaces, including several supported by STM32CubeProgrammer.
Apart from that, no, there's no way to get into the bootloader, which means you cannot access or program the device without the debug port.
2024-08-28 02:45 PM - edited 2024-08-28 02:47 PM
You can hold BOOT0 high during reset to boot into the bootloader. Default values are BOOT_LOCK=0, nBOOT1=1, nSWBOOT0=1.
Once in the bootloader, you can access the device through any of the supported interfaces, including several supported by STM32CubeProgrammer.
Apart from that, no, there's no way to get into the bootloader, which means you cannot access or program the device without the debug port.