2022-05-30 10:04 AM
I have bought a new ST-Link/V2 from Digikey a while back and have only recently gotten the chance to use it. But every time I try uploading code to my geniune WeAct F411CEU6 board using SWD I get the error code "Error: No STM32 target found!". I don't think my connections are wrong cause I followed the instructions from this website:https://waterpigs.co.uk/articles/black-blue-pill-stm32-st-link-connection/
The target voltage detected is 3.14V and the firmware version is: V2J38S7.
The device shows up in device manager but I'm wondering if there is anything wrong with the debugger as I can upload code via UART to the development.
If anyone has any ideas please do let me know. Thank you!
Solved! Go to Solution.
2022-06-01 08:53 AM
Connector looks backward and upside down
VPP looks connected to pin 1, not pin 19 where it is supposed to be.
Guess it depend what you're looking at. All the docs show the male pin header, not starring into the female connector. I tend to jumper onto the ST-LINK itself with Schmartboard jumper wires or DuPont ones.
2022-05-30 11:03 AM
> I don't think my connections are wrong
I do. Prove me wrong (i.e. post foto, schematics, etc.)
JW
2022-05-30 01:20 PM
Blue Pills have been using counterfeits for quite some time, which are (of course) not accepted by the ST software. I could well imagine that counterfeits are also used on the Black Pills (knowingly or unknowingly). So, in addition to @Community member hints, it would also make sense to check the authenticity of the STM32.
Good luck!
Regards
/Peter
2022-05-31 07:20 AM
Hi,
2022-06-01 07:24 AM
2022-06-01 07:25 AM
This is the connection I'm using except for that I am using except for I'm using the black pill instead of the blue pill in this picture.
2022-06-01 07:30 AM
I see. I assumed that the geniune WeAct black pills used genuine parts. How would I be able to check the authenticity of the MCU? Wouldn't being able to upload to the MCU via UART indicate that it's genuine or does this method bypass the authentication process?
Also, is it possible to test if my debugger is functioning properly without an MCU cause I'm worried that it might not be working correctly.
2022-06-01 07:38 AM
I have verified that they are both approximately 3.3V and that the debug pin is connect to gnd to no avail. I'm wondering if there is anything wrong with my debugger since every time I connect to my pc it shows the update firmware option even though I've updated it already.
2022-06-01 08:53 AM
Connector looks backward and upside down
VPP looks connected to pin 1, not pin 19 where it is supposed to be.
Guess it depend what you're looking at. All the docs show the male pin header, not starring into the female connector. I tend to jumper onto the ST-LINK itself with Schmartboard jumper wires or DuPont ones.
2022-06-01 09:01 AM
See PIN 1 marked in orange, and where the knock-out is.
PIN 19 is lower left corner, most of the pins on the right edge are grounds.