ST-Link/V2 cannot detect STM32 target
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 8: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-30 1: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-31 7:20 AM
Hi,
- Verify that the VDDA voltage matches the 3.3V must have the same voltage as VDD
- caution if you use Debug the Pin must have connect to gnd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 7:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 8: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-01 9: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.
Up vote any posts that you find helpful, it shows what's working..
