2021-02-22 04:05 PM
Hi,
Anyone here successfully connected STM32F103C8T6 clone board using ST-LINK V3SET ?
QUESTIONS:
1. Here is the pins connection layout using CN2 JTAG:
+5V external ----> T_VCC pin 1
GND ---------------> GND pin 20
SWDIO ------------> T_SWDIO pin 7
SWCLK ------------> T_SWCLK pin 9
The actual connection is like below:
STM32CubeProgrammer already upgraded to latest ST-LINK V3SET firmware V3.J7.M2.B4.S1,
but I am unable establish connection to the STM32F103C8T6 board as shown picture below and the STM32CubeProgrammer CANNOT BE CLOSED:
I have reset by pressing the RESET button ( Software/Hardware reset options selected ) then followed by clicking the Connect button, the result still the same as shown above, any idea ?
My new ordered Nucleo F103RB board is on its way, but now I just wanted to test the STM32F103C8T6 clone board which is very common.
Please advise if there is any error connection above, I am new to ST-LINK V3SET.
2. The ST-LINK V3SET COM LED from the datasheet is stated Red color on power on, but sometime I notice it auto turned to Green color, is this normal ?
3. The ST-LINK V3SET cannot works if connected to a USB HUB, I have to isolate it to connect to a standalone USB port, what's the reason ? ( this is not practical as I have to unplug and plug in back manually and easily can damage the USB socket/connector in long run, the PC is far away from my workbench desk, I purposely need to use a long USB female socket cable and if with USB HUB, I can easily turn the switch ON/OFF ).
Thank you.
2021-02-22 04:13 PM
VTarget of 5V is clearly inappropriate, thing should be running at 3 or 3.3V
2021-02-22 04:17 PM
https://stm32-base.org/boards/STM32F103C8T6-Blue-Pill.html
There should be a 5V supply pin you can use on the board. Connect that up, and then the Pin 1 of the SWD header should be at 3V3, and you can use that as VTarget (Pin 1 JTAG)
2021-02-22 04:21 PM
Yes, I did tested it using a MC33269 3.3V Voltage regulator as picture shown below, the SWD interface of STM32F103C8T6 is 5V tolerance input which I have tested it using +5V from ST-LINK V2 before:
Seems.... my setup above, is using the output +3.3V from Voltage regulator to drive both STM32F103C8T6 and ST-LINK V3SET JTAG but still failed.
Please advise.
2021-02-22 04:26 PM
However, the result still the same unable to establish connection between STM32CubeProgrammer and the STM32F103C8T6 clone board and the STM32CubeProgrammer CANNOT BE CLOSED.
Please advise.
2021-02-23 03:20 AM
Bluepils often have STM32F103 clones. StlinkV3 denies active to work with those parts.
2021-02-23 03:29 AM
hi Uwe Bonnes, thank you for the feedback, I just received information from "S C ( ST Employee )", the support also said so, it could be clone STM32F103 is not supported by STLINK V3.
2021-02-23 04:02 AM
Stlinkv2 does not do that check when using SWD. Perhaps you have some disco or nucleo board and use them to attach,
2021-02-23 04:05 AM
yes, I agreed with you, only if the firmware of STLINK V3SET remove the checking routine, only then I believed, it can works on clone STM32 chips. Thanks again for sharing the information, much appreciated. :thumbs_up:
2021-02-23 04:36 AM
by the way Uwe Bonnes, may I know is the ST original STLINK V2 does not do the checking of genuine STM32 MCUs as well ? or the same as STLINK V3SET ?