2025-11-15 3:54 PM
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 ?
2025-11-15 6:10 PM
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.
2025-11-16 2:17 PM
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?
2025-11-16 2:53 PM - edited 2025-11-16 5:22 PM
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
2025-11-16 5:51 PM
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.
2025-11-16 11:29 PM
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.
2025-11-17 1:53 AM
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:
See these Knowledge Base articles:
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues.