Genuine STLINK-V3MINIE doesn't work, but clone STLINK-V2 works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-03-30 12:28 AM - edited ‎2025-03-30 9:57 AM
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.
Solved! Go to Solution.
- Labels:
-
ST-Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-01 1:38 AM - edited ‎2025-04-01 1:41 AM
I just connected a miniE to a H7 board, to show:
connection at 24 Mb , cable to target about 12cm long.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-01 3:27 AM
Talking with the reset line asserted isn't going to work. Seems like the Minnie has a broken reset line or you had it on the wrong reset setting. Try other reset settings and see if the line behavior changes. If not looks like reset is shorted on the Minnie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 5:34 AM
I'm not sure about origin of that device.
Is it possible to verify genuineness of that device?
I would expect different message in CubeProgrammer if it was counterfeit part.
I tried 2 different boards/targets.
1. genuine STM32L031F6P6, I was able to connect with V3MINIE
2. bluepill from aliexpress (with STM32F103). I do not know whether it has genuine or clone STM32. I was able to connect with V3MINIE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 6:38 AM
@Chupacabras wrote:I'm not sure about origin of that device.
Is it possible to verify genuineness of that device?
You could try: https://mecrisp-stellaris-folkdoc.sourceforge.io/bluepill-diags-v1.640.html
@Chupacabras wrote:2. bluepill from aliexpress
So vanishingly small chance of genuine STM32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 8:28 AM
In that case V3MINIE works with genuine and clone chips.
I have no idea why V3MINIE does not want to work with my board/project, but clone STLINK2 does work. I'l try to swap those chips.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 8:30 AM
Interesting. So now it looks like the MCU isn't genuine? Even so, why would the debugger refuse to talk to it? So the static GND value isn't really stuck at 1 value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 8:35 AM
@Carl_G wrote:So now it looks like the MCU isn't genuine? Even so, why would the debugger refuse to talk to it?
- ST might choose to have their software not connect to non-genuine parts.
- The clone might be marginal - so it just manages to connect to one debug probe, but fails to connect to another.
That's the thing with fakes - you have no idea what you're getting!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 10:19 AM - edited ‎2025-04-03 10:35 AM
Just try a simple check:
- use CubeProgrammer , then :
- connect st-linkV2 , to a blue pill; see (or show) what its telling...chip type etc.
- same on your (unknown) black pill board ...
- then try same two test with the st-link miniE , and show, what its telling .
Then we know a little bit, where might be the problem.
example:
- here st-linkV2 (stick...) to an H743:
- and here to an airF103 :
- this cortexM3 is made by AIR , not STM ! STM-IDE refuses to work with it, because other manufacturer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 12:25 PM
I tried to swap those MCUs.
I soldered MCU from bluepill to my board, a MCU from my board to bluepill board.
Now V3MINIE was able to connect to my board, and not able to connect to bluepill.
So that ruled out problem in my board. And that point towards MCU itself. At this point it looks like this one is some sort of old low quality counterfeit.
So I used some STM32F103 from different source and it works.
STLINK-V2 + bluepill:
STLINK-V2 + problematic chip:
I see here Revision ID is empty
STLINK-V2 + new STM32 from different source:
STLINK-V3MINIE + bluepill:
STLINK-V3MINIE + new STM32 from different source:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-04-03 12:42 PM - edited ‎2025-04-03 12:49 PM
So we can conclude, obvious other manufacturer , but cortexM3 ("F103" name ).
(Or STM chip, but some first test series, that should not be come to the market...who knows.)
And your miniE is ok, also. Just you cannot debug in IDE with miniE, because there is a check for "genuine STM" cpu...
ok now ?
