cancel
Showing results for 
Search instead for 
Did you mean: 

Target USB Comms error

dramanovic
Associate II

Hello all,

I am programming on the NUCLEO-C031C6 and have some errors debugging the project. I have connected the board with micro-usb as it must. However i get following error message:

dramanovic_0-1716983503415.png

dramanovic_1-1716983546123.png


Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @dramanovic 

Make sure to update the ST-Link Firmware and ST-Link server software.

Make sure to use the last release of CubeIDE.

Check the USB cable and connectors.

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

View solution in original post

2 REPLIES 2
Imen.D
ST Employee

Hello @dramanovic 

Make sure to update the ST-Link Firmware and ST-Link server software.

Make sure to use the last release of CubeIDE.

Check the USB cable and connectors.

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

Thank you for your help!
The error has not been resolved, however i do not know if the st-link server is started since i ran the .bat file from the link you provided. However i should only give administrator rights and did not receive any feedback if successfully installed.
In my FAIL.txt file from the board itself, it states:The interface firmware FAILED to reset/halt the target MCU.

After disconnecting and reconnecting the Board, the LD1 is constantly red. However after trying to run a project and when the error occurs, it turns constantly green.
Is it possible, that the connecting micro-usb cable is the issue or is there another way to possible fix it?

Thanks,

David