2023-12-22 10:22 PM
Hi Everyone,I'm unable to connect to my STM32F103c8 board using an ST-Link/v2(isol).
I connected the cables as mentioned in ST-Link/v2 manual:
PIN1 (VAPP) -> VDD PIN7 (TMS_SWDIO) -> SWIO PIN9 (TCK_SWCLK) -> SWCLK PIN20 (GND) -> GND
Here is the physical connection,after connecting VAPP to vdd target is not powered on
i attached the image below (connection bw debugger and target.jpg) while giving external supply using st link v2 clone it displays target not connected the connection was(target_on.jpg)
in log trace it shows
ST-Link/V2 device detected
Target voltage detected: 3.072181
Error getting target IDCODE: if SWD, check SWD connection
Error (4) while initializing ST-Link in SWD mode
software settings and log messages are attached below(setttings.jpg)
Solved! Go to Solution.
2023-12-23 12:09 AM
Try to press the reset button and release it just before the connection is established. If the connection succeeds, it is advisable to perform a mass erase.
The MCU on these boards is usually counterfeit and ST-Link then refuses to connect to it.
2023-12-23 12:09 AM
Try to press the reset button and release it just before the connection is established. If the connection succeeds, it is advisable to perform a mass erase.
The MCU on these boards is usually counterfeit and ST-Link then refuses to connect to it.
2023-12-23 12:33 AM
Try using the stm32CubeProgrammer -> https://www.st.com/en/development-tools/stm32cubeprog.html
(if not "find" your ST-Link/V2 , try older version, maybe 2.8.0 )
then show, what its telling...
+ check on your "blue pill" board: is there a STM... chip or CK or other manufacturer "F103" .
2023-12-23 12:58 AM
Hi sir,thank you for your suggestion now it works fine