Skip to main content
Associate
Nov 15, 2025 11:54 PM UTC
Question

STLINK-V3MINIE STM32G031F8P6

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 ?

6 replies

TDK
Nov 16, 2025 2:10 AM UTC

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
Nov 16, 2025 10:17 PM UTC

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?

ST Technical Moderator
Nov 17, 2025 7:29 AM UTC

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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Associate II
Nov 16, 2025 10:53 PM UTC

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
Nov 17, 2025 1:51 AM UTC

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
Nov 17, 2025 9:53 AM UTC

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.