Skip to main content
Associate
November 15, 2025
Question

STLINK-V3MINIE STM32G031F8P6

  • November 15, 2025
  • 3 replies
  • 302 views

Hello, using STMCubeProgramme, STLINK-V3MINIE does not recognize an STM32G031F8P6, while an ST32MF411CEU6 is recognized. The voltage is read on both boards: 3.28V.

What can I do to get the STM32G031F8P6 to be recognized ?

3 replies

TDK
Super User
November 16, 2025

If the programmer works, here are the only possibilities:

It is miswired.

it is not powered.

it is locked out (RDP 2).

 

Consider rechecking wiring. Show pictures of the setup and connections if you are stuck.

"If you feel a post has answered your question, please click ""Accept as Solution""."
JF18Author
Associate
November 16, 2025

Thank you for your reply.

 

- Incorrect wiring? I don't think so. It works with the same wiring on a Blackpill board. The STM32G031F8P6 board from the same supplier, WeActStudio, has the same SWD connector: GND, SCK, DIO, 3.3V.

 

- Not powered? I don't think so either. The board's blue LED is flashing, and STM32CubeProgrammer displays 3.28V for the power supply voltage thanks to STLINK-V3MINIE.

 

- Latching (RDP 2). How can I check and change this?

Technical Moderator
November 17, 2025

Try update the ST-LINK firmware.

Check the jumper position as recommended in the board’s user manual.

If issues persist, review the board schematics for conflicts.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Associate II
November 16, 2025

This sounds like a 0.99$ board from ali express or similiar.

Sure it is a genuine STM32?

 

Maybe it helps to also connect NRST and set "Reset behaviour" to "Under Reset" in the debug configuration?

Project -> Properties -> Run/Debug Settings -> [Select configuration] -> Edit -> [Select Debugger tab] -> [check Interface SWD] -> [Select Reset behavior type to "Connect under Reset"] -> OK

 

TDK
Super User
November 17, 2025

Did the board ever work? What firmware is on it? If it has firmware which reassigns SWD pins or goes into low power modes or writes to flash at startup, it will be difficult to recover.

RDP 2 can’t be changed.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
November 17, 2025

Welcome to the forum.

You need to give some more details - please see How to write your question to maximize your chances to find a solution.

In particular:

  • What, exactly, are these boards you're using? As @TDK said, has the F4 board ever worked?
  • What software (including versions) are you using?
  • What OS are they running on?
  • Show the full error logs & messages you get.
  • Some good, clear photos of your setup would help.

 

See these Knowledge Base articles:

How to solve connection errors when connecting and programming the STM32 target board.

How to solve debugger connection issues.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.