cancel
Showing results for 
Search instead for 
Did you mean: 

Genuine STLINK-V3MINIE doesn't work, but clone STLINK-V2 works

Chupacabras
Associate III

I'm trying to make genuine STLINK-V3MINIE to work, but without success.

The target device is STM32F103C8T6.

VCC is connected to T_VCC (pin 3 of STDC14)

SWCLK is connected to T_SWCLK (pin 6 of STDC14)

SWDIO is connected to T_SWDIO (pin 4 of STDC14)

RESET is connected to T_NRST (pin 12 of STDC14)

GND is connected to GND and GNDDetect (pins 5, 7, 11 of STDC14)

STM32CubeProgrammer is properly detecting STLINK-V3MINIE, even shows voltage of the target.

But when I try to connect to target, it gives message:

Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

 

This is text from console:

  12:56:46:283 : UR connection mode is defined with the HWrst reset mode
  12:56:46:837 : ST-LINK SN  : [redacted]
  12:56:46:838 : ST-LINK FW  : V3J16M7
  12:56:46:838 : Board       : STLINK-V3MINIE
  12:56:46:838 : Voltage     : 3.29V
  12:56:46:839 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication
  12:56:46:876 : Disconnected

 

I tried another PC, but with the same result.

 

When I connect clone STLINK-V2 instead of genuine STLINK-V3MINIE, I'm able to connect to target MCU, and download program to target.

This is the output from console:

  13:00:39:502 : UR connection mode is defined with the HWrst reset mode
  13:00:39:667 : ST-LINK SN  : [redacted]
  13:00:39:667 : ST-LINK FW  : V2J45S7
  13:00:39:667 : Board       : --
  13:00:39:667 : Voltage     : 3.18V
  13:00:39:667 : SWD freq    : 4000 KHz
  13:00:39:667 : Connect mode: Normal
  13:00:39:667 : Reset mode  : Hardware reset
  13:00:39:668 : Device ID   : 0x410
  13:00:39:668 : Revision ID : --
  13:00:39:668 : flash loader C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin/FlashLoader/0x410.stldr is loaded
  13:00:39:668 : Debug in Low Power mode is not supported for this device.
  13:00:39:668 : Reading data...
  13:00:39:668 : r ap 0 @0x1FFFF7E0 0x00000004 bytes Data 0x00140040
  13:00:39:957 : UPLOADING OPTION BYTES DATA ...
  13:00:39:957 :   Bank          : 0x00
  13:00:39:957 :   Address       : 0x4002201c
  13:00:39:957 :   Size          : 8 Bytes
  13:00:39:958 : Reading data...
  13:00:39:958 : r ap 0 @0x4002201C 0x00000008 bytes Data 0x03FFFFFC
  13:00:39:959 :   Bank          : 0x01
  13:00:39:959 :   Address       : 0x1ffff800
  13:00:39:959 :   Size          : 16 Bytes
  13:00:39:959 : Reading data...
  13:00:39:959 : r ap 0 @0x1FFFF800 0x00000010 bytes Data 0xFFFF5AA5
  13:00:39:960 : UPLOADING OPTION BYTES DATA ...
  13:00:39:960 :   Bank          : 0x00
  13:00:39:960 :   Address       : 0x4002201c
  13:00:39:960 :   Size          : 8 Bytes
  13:00:39:960 : Reading data...
  13:00:39:961 : r ap 0 @0x4002201C 0x00000008 bytes Data 0x03FFFFFC
  13:00:39:961 :   Bank          : 0x01
  13:00:39:961 :   Address       : 0x1ffff800
  13:00:39:961 :   Size          : 16 Bytes
  13:00:39:962 : Reading data...
  13:00:39:962 : r ap 0 @0x1FFFF800 0x00000010 bytes Data 0xFFFF5AA5
  13:00:39:962 : UPLOADING ...
  13:00:39:962 :   Size          : 1024 Bytes
  13:00:39:963 :   Address       : 0x8000000
  13:00:39:963 : Read progress:
  13:00:39:963 : Reading data...
  13:00:39:964 : r ap 0 @0x08000000 0x00000400 bytes Data 0x20005000
  13:00:39:964 : Data read successfully
  13:00:39:964 : Time elapsed during the read operation is: 00:00:00.007

 

What is the problem with STLINK-V3MINIE?

How to make it work?

It's pretty frustrating that clone works and genuine debugger not.

 

31 REPLIES 31

Yes. Case closed.

Carl_G
Senior

But ST isn't the only user of ARM Cortex cores so it makes sense not to connect to a different M3.

What made you think this was an ST Chip? Was the number STM32F103C8T6 on the chip or package somewhere?