Skip to main content
Visitor II
March 9, 2026
Question

Unable to change NRST_MODE on stm32g031j6m6

  • March 9, 2026
  • 2 replies
  • 178 views

Hello,

I am working on using NRST pin in stm32g031j6m6 as GPIO, but it fails every time. I've changed many option bytes and even options present only on stm32g0x1 have workwd on my chip, except of NRST_MODE. If i want to change this option to 2 (gpio mode) and try to apply, the progress bar stays at 0% endlessly until i quit the STM32CubeProgrammer. I didn't have any problems with communication between nucleo and stm32g031. I tried to program my chip with st links built in nucleo u031 and f303, everytime without success. What else can i try? 

g031_014124.PNG

2 replies

TDK
Super User
March 9, 2026

Unable to duplicate here on STM32CubeProgrammer v2.21.0.

What version of STM32CubeProgrammer are you using? If not the latest, try that.

Screenshot 2026-03-09 140201.png

 

> I tried to program my chip with st links built in nucleo u031 and f303

Is this a separate issue? Please clarify.

If USB connections are flaky in general, it's probably a computer problem. Try eliminating hubs or using a different cable and port.

"If you feel a post has answered your question, please click ""Accept as Solution""."
ST Employee
March 10, 2026

Hello there @elektronik_BP ,

Thank you for bringing this to our attention.
I have reproduced this on v2.22 and I have reported this to the dedicated team. (internal ticket number:0060237)
For now, you can switch to v2.21 as it works there and I'll let you know ASAP when this is fixed.

PS: Ticket number: 0060237 is an internal tracking number and is not accessible or usable by customers.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.