2024-11-06 10:17 PM - edited 2024-11-07 12:47 AM
Hello
The LED on the top link is red. Is it a problem with the connection or the driver? I can't figure it out. Can you help me?
2024-11-07 02:04 AM - edited 2024-11-07 02:05 AM
Please see this for how to capture a screenshot - far better than photographing the screen!
https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/
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.
2024-11-07 02:11 AM - edited 2024-11-07 02:14 AM
The meaning of the LED is described in the User Manual:
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.
2024-11-07 02:55 AM
I know how to take a screenshot but the computer I took it on didn't have internet so I took it with my phone
Should I connect another device to the st-link instead of the computer's usb port?
Thank you for your interest
2024-11-07 03:08 AM
I apologize, but I plugged it into other ports, but for some reason the voltage does not increase and stays at 0.46
2024-11-07 03:15 AM
@osman2 wrote: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?
2024-11-07 03:25 AM
2024-11-07 03:28 AM
You don't have anything connecting to Pin 1 which should be the VTarget voltage to power the interface buffers on the ST-LINK side
2024-11-07 03:36 AM
Do I need to give 3.3v from pin1 of the cn3 socket?
2024-11-07 03:48 AM
@osman2 wrote:no cable is currently connected to the st link- cn3 socket
That's where you would connect the cable from the ST-Link to you Target.
If you have nothing connected there then, clearly, the ST-Link will not see any Target connected!
In this situation, the Red LED illuminated is the expected condition - as explained earlier.
Have you studied the User Manual?