Skip to main content
TFuji.4
Associate II
February 17, 2020
Solved

STM32cubeIDE showed ST-LINK DLL error when debugging NUCLEO board.

  • February 17, 2020
  • 2 replies
  • 4620 views

Hello everyone,

I use STM32CubeIDE at the first time..

The target is NUCLEO-L496ZG-P.

When I clicked [Debug], the following message appeared.

ST-Link enumeration failed

Error in initializing ST-LINK device.

Reason: ST-LINK DLL error.

NUCLEO board is connected to the PC.

 Please tell me how to solve it.

Best regards,

Toru

Best answer by Imen.D

Hello @TFuji.4​ ,

As you described in your message, you are using a J-link driver and not ST-Link ? Try to use ST-Link instead.

Otherwhise, update in your Debugger option : "ST-LINK (ST-LINK GDB server)" by SEGGER J-LINK.

0690X00000DBlbDQAT.jpg

Best Regards,

Imen

2 replies

Imen.DBest answer
Technical Moderator
February 18, 2020

Hello @TFuji.4​ ,

As you described in your message, you are using a J-link driver and not ST-Link ? Try to use ST-Link instead.

Otherwhise, update in your Debugger option : "ST-LINK (ST-LINK GDB server)" by SEGGER J-LINK.

0690X00000DBlbDQAT.jpg

Best Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
TFuji.4
TFuji.4Author
Associate II
February 18, 2020

Hello Imen-san,

Thank you for your support.

I downloaded the firmware to the ST-LINK IC on the Nucleo board.

Then, I was able to connect with ST-LINK with the Nucleo board.

It seems that the firmware of the IC has been changed to the firmware of J-LINK.

I was able to debug the Nucleo board.

Thank you for your cooperation.

Best Regards,

Toru

Associate II
March 26, 2024

How did you downloaded the firmware for ST-LINK IC on the nucleo board