The pop-up message is telling you that it can't detect any connected STM32 target device:
The log shows you that the target supply voltage is only 0.46V
Your Target can't be running with less than half a volt supply!
You need to fix the power supply on the target.
Note that the ST-Link/V2 does not supply power to the target.
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.
So the PC is communicating with the ST-Link, but the ST-Link has not yet had any communication - successful or otherwise - with the Target.
As described in my previous post, your ST-Link can't communicate with your Target because the Target has no power.
The ST-Link can't distinguish this condition from simply having no target connected at all.
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.
I plugged it into other ports, but for some reason the voltage does not increase and stays at 0.46
Again, the ST-Link does not supply power to the Target.
Your screenshot shows that the PC is communicating fine with the ST-Link; there is no problem there - no need to try different USB ports.
The problem is that your Target is not powered.
How are you trying to power the Target?
What Target is it?
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.
Do I need to give 3.3v from pin1 of the cn3 socket?
Again, see the User Manual - it tells you what connections you need to make between the ST-Link and your Target:
CN3 pin 1 (and pin 2) connects to the power supply (VCC) in the Target - it is an input to the ST-Link.
The voltage reported in the Log is what the ST-Link measures at this input.
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.
I have an electronic board I have an electronic board I have a cpu using stm32f103
according to the connection in the socket in the following picture I am connecting to the cn3 socket according to the photo I am connecting 1=1--2=3---3=9---4=7--- 5=20
Since you are only using 2 pins for debug (plus NRST), you must be using SWD.
It would be more helpful to label your schematic with the SWD names (rather than JTAG names):
JTCK = SWCLK
JTMS = SWDIO
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.
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.