cancel
Showing results for 
Search instead for 
Did you mean: 

I have a problem with the Target USB comms error. Error in initializing ST-LINK device. Reason: USB communication error.

JAvil.2
Associate

Hi guys

I am using TrueStudio and trying the Nucleo 64 STM32F446RE.

when I try to debug, the console always shows

Starting server with the following options:

    Persistent Mode      : Disabled

    Logging Level       : 1

    Listen Port Number     : 61234

    Status Refresh Delay    : 15s

    Verbose Mode        : Disabled

    SWD Debug         : Enabled

Target USB comms error

Error in initializing ST-LINK device.

Reason: USB communication error. Please reconnect the ST-LINK USB cable and try again.

I checked to use the STM32-LINK Utility. There is a communication error.

Tried to execute dpsint_amd64 using the path C:\Keil_v50\ARM\STLink\USBDriver

changed the USB cable

4 REPLIES 4
Ahmad M.Nejad
Associate III

I have the same problem with STM32CubeIDE 1.8.0

0693W00000JOKv6QAH.png

Ahmad M.Nejad
Associate III

I solved the problem by reinstalling ST-LINK server software!

https://www.st.com/en/development-tools/st-link-server.html

The problem comeback today! :crying_face:

Update to STM32CubeIDE V1.9.0 solves all problems.

Thanks ST😊