2026-03-23 10:54 PM - last edited on 2026-03-26 5:42 AM by KDJEM.1
Dear STMicroelectronics Support Team,
I am working with two ST-LINK/V2 debuggers and have observed a difference in the VTref (VAPP) signal location on the 20-pin connector.
I would like to understand whether this is expected behavior.
Details of the debuggers:
1. ST-LINK/V2 marked: B2025 16
2. ST-LINK/V2 marked: A2017 10
Used board to flash :
BLUENRG-M2SP
Used flasher tool :
RF-Flasher utility v4.5.0
Observation:
* In the B2025 16 debugger, the target voltage (~3.3 V) is measured on Pin 1 of the 20-pin connector.
* In the A2017 10 debugger, the target voltage (~3.3 V) is measured on Pin 19 of the 20-pin connector.
Both debuggers are being used under similar conditions with the same target hardware.
Could you please clarify:
1. Whether such variation in VTref (VAPP) pin location is expected across different ST-LINK/V2 units?
2. If there are any known hardware variations or revisions related to this behavior?
3. Any guidance to ensure correct usage in this scenario?
We want to ensure safe and reliable operation in our setup.
Looking forward to your clarification.
Best regards,
Selvakumar G
Solved! Go to Solution.
2026-03-24 2:34 AM - edited 2026-03-24 3:01 AM
Hello,
Please note that one of your ST-Link might be a clone, the one marked "A2017 10", especially if this model# is written in blue. That can explain the difference in behavior that you're observing.
Please check this article:
How to recognize a genuine ST-LINK/V2 versus a cloned one
>> Is there any pin on the ST-LINK/V2 20-pin connector (CN3) that can be used to supply power to the target device during programming? Or is it mandatory that the target board provides its own supply (VDD) to the VTref (VAPP) pin?
As mfgkw wrote above: no.
Please check the ST-Link user's manual section 4.2:
There is a VDD 3.3V on pin 19, but please don't use it, it is not designed for power supply.
2026-03-23 11:19 PM - edited 2026-03-23 11:22 PM
Hi Selakumar,
When do you measure your 3.3V voltage? With target connected or pins open?
Since targets may have different voltages the programmer needs to know the voltage to be used while a target is connected.
So your target's voltage VDD (maybe 3v3 or something below) must be connected to pin 1 or 2 of ST-Link's 20 pin connector CN3, This is VAPP: the voltage of your application, connected to ST-Link. It is an input pin for ST-Link.
It's level while unconnected has no meaning on ST-Link side.
Ignore pin 19. This is neither suitable to measure the target's voltage nor to supply anything. It is simply irrelevant.
2026-03-24 1:32 AM
2026-03-24 2:16 AM
Dear Selvakumar,
> Dear STMicroelectronics Support Team,
I'm not related to ST in any way, as well as most contributors here.
It is a forum of users. (Nevertheless some members are ST employees.)
> Is there any pin on the ST-LINK/V2 20-pin connector (CN3) that can be used to supply power to the target device during programming?
No.
> Or is it mandatory that the target board provides its own supply (VDD) to the VTref (VAPP) pin?
Yes, this is correct.
HTH Klaus
2026-03-24 2:34 AM - edited 2026-03-24 3:01 AM
Hello,
Please note that one of your ST-Link might be a clone, the one marked "A2017 10", especially if this model# is written in blue. That can explain the difference in behavior that you're observing.
Please check this article:
How to recognize a genuine ST-LINK/V2 versus a cloned one
>> Is there any pin on the ST-LINK/V2 20-pin connector (CN3) that can be used to supply power to the target device during programming? Or is it mandatory that the target board provides its own supply (VDD) to the VTref (VAPP) pin?
As mfgkw wrote above: no.
Please check the ST-Link user's manual section 4.2:
There is a VDD 3.3V on pin 19, but please don't use it, it is not designed for power supply.
2026-03-24 3:11 AM
@Mike_ST wrote:There is a VDD 3.3V on pin 19, but please don't use it, it is not designed for power supply.
The User Manual could be a lot clearer about this:
It does, indeed, show that it should not be connected to the Target - but gives no indication as to why, nor what purpose this pin does serve.
Also, the description of VAPP could be a lot clearer that it's an input to the ST-Link from the Target.
This is such a common question that it really should be made clearer!
2026-03-24 3:20 AM - edited 2026-03-24 3:23 AM
Hi,
see manual:
So always (!) you have to connect pin 1 (and/or 2) to target VDD. (st-link check here VDD of target = ok ?)
+ usually have target powered by external supply.
And -no guarantee- pin 19 to get some 100mA max. for target supply. (only for small target, < 100mA !)