cancel
Showing results for 
Search instead for 
Did you mean: 

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

TFuji.4
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

3 REPLIES 3
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
TFuji.4
Associate II

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

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