Initial flashing stm32g474 without debugger/programmer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-28 2:28 PM - edited ‎2024-08-28 2: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.
- Labels:
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-28 2:45 PM - edited ‎2024-08-28 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-28 2:45 PM - edited ‎2024-08-28 2: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.
