2022-04-07 10:52 PM
I have recently purchase ST-LINK V3 MODS
I am trying to connect it using SWD protocol using STM32CUBE PROGRAMMER software but it gives error DEV_TARGET_CMD_ERR
if i use STLINK V2 then it works fine.
how can i solve this?
is there any connection problem?
my connection pins on ST-LINK V3 MODS
pin no--------function
left side of STLINK V3
4 - T_JTMS/T_SWDIO
8 - GND
13 - T_JCLK/T_SWCLK
right side of STLINK V3
30 - T_Vcc
2022-04-07 10:57 PM
Not at 24 MHz, try 1 or 2 MHz
Doesn't have buffers, doesn't need target voltage
2022-04-07 11:15 PM
Error: No STM32 target found!
11:43:38 : ST-LINK SN : 0027001F4D46500F20373033
11:43:38 : ST-LINK FW : V3J8M3B5S1
11:43:38 : Board : STLINK-V3MODS
11:43:38 : Voltage : 0.00V
still not connecting
2022-04-08 12:09 AM
basically it is a clock speed issue
12:37:03 : ST-LINK SN : 0027001F4D46500F20373033
12:37:03 : ST-LINK FW : V3J8M3B5S1
12:37:03 : Board : STLINK-V3MODS
12:37:03 : Voltage : 0.03V
12:37:03 : SWD freq : 50 KHz
12:37:03 : Connect mode: Normal
12:37:03 : Reset mode : Software reset
12:37:03 : Device ID : 0x440
12:37:03 : Revision ID : Rev 2.0
12:37:04 : UPLOADING OPTION BYTES DATA ...
12:37:04 : Bank : 0x00
12:37:04 : Address : 0x1ffff800
12:37:04 : Size : 16 Bytes
12:37:04 : Error: Uploading Option Bytes bank: 0 failed
12:37:04 : Error: Initializing the Option Bytes failed
12:37:04 : Disconnected from device.
at 5KHz connected success fully
2022-04-08 12:24 AM
out put voltage and current of STLINK V3 is not sufficient for higher clock speed?
i have placed cable to connect my board with STLINK V3 cable length is (30 cm).
how can i increase clock speed of 1-2 MHz.
ST LINK V2 works fine with 4MHz but ST LINK V3 works fine at 5KHz with same board and cable length.