Skip to main content
Visitor II
February 17, 2020
Solved

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

  • February 17, 2020
  • 2 replies
  • 4619 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

    This topic has been closed for replies.
    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.DAnswer
    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

    TFuji.4Author
    Visitor 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

    Explorer
    March 26, 2024

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