cancel
Showing results for 
Search instead for 
Did you mean: 

Getting ST-LINK-V3 MODS to run after previous used of nucleoboards.

Tobe
Senior III

Hi,

i was hoping, that the Link-V3 would just work, after i used nucleo boards already. But i was dissapointed. I use the GDB server, and it says:

ST-Link enumeration failed

Error in initializing ST-LINK device.
Reason: ST-LINK DLL error.

I just checked a Nucleo board, and there is no problem.

The installation of the driver worked without errors.

 

 

14 REPLIES 14
Tobe
Senior III

Too bad you only can post 3 images...

Tobe
Senior III

This is how i start the GDB server:

ST-LINK_gdbserver.exe -p 6100 -l 0 -d -s -cp D:\...\tools\bin -m 0 -g
start "" STM32_Programmer_CLI.exe -c port=SWD mode=NORMAL reset=HWrst

See the settings for eclipse attached.

Tobe
Senior III

I now managed to get some connection to my board. I used the Cubeprogrammer GUI, and have to set 1000kHz or lower. But still it does not work with the CLI, allthough it there set 1000kHz too.

Tobe
Senior III

IT WORKS!

While trying many things, i disconnectes NRST. But i still can program the target.

I had to enter the frequency in the gdb server comman line!

TARGET - the thing you're trying to communicate / connect too..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..