Skip to main content
Associate II
September 30, 2024
Solved

Inquiry about Boot Pin setting while using STM32CubeMX

  • September 30, 2024
  • 1 reply
  • 1296 views

I am using STM32CubeMX and need to set

nBoot0, nBOOT0_SEL, and BOOT_LOCK. (Stm32G031 series is being used and Pattern 11 is being used)

I have difficulty connecting with the STM32Cubeprogrammer program,

so I would like to process it with the CubeMX program if possible,

but I would like to inquire about how to modify the register.

 

Please let me know!! please.

Paul6_1-1727660014219.png

Paul6_0-1727659973721.png

 

Best answer by TDK

STM32CubeMX cannot modify option bytes as it doesn't connect to the chip at all.

STM32CubeProgrammer is the easiest way to program them. If you're having trouble connecting, I would suggest figuring out why and solving that issue rather than hoping another program will work better.

1 reply

TDK
TDKBest answer
Super User
September 30, 2024

STM32CubeMX cannot modify option bytes as it doesn't connect to the chip at all.

STM32CubeProgrammer is the easiest way to program them. If you're having trouble connecting, I would suggest figuring out why and solving that issue rather than hoping another program will work better.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Paul6Author
Associate II
September 30, 2024

The STM32G031 DSP seems to have stopped working after performing a firmware update. Is this because the boot settings are not set?

TDK
Super User
September 30, 2024

No, unless those settings were changed in the firmware update. Which they probably weren't.

"If you feel a post has answered your question, please click ""Accept as Solution""."