cancel
Showing results for 
Search instead for 
Did you mean: 

STLINK-V3MINIE STM32G031F8P6

JF18
Associate

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 6
TDK
Super User

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".

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?

mfgkw
Senior II

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

 

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".

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".
Thanks
Imen
Andrew Neil
Super User

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.