Skip to main content
Associate II
Jun 28, 2024 11:57 AM UTC
Solved

Error connecting with ST-LINK in Linux

Hello,

I have installed STM32CubeProgrammer (version 2.14.0) on a Linux machine. I have connected my NUCLEO-U575ZI-Q microcontroller to the machine, but the CubeProgrammer does not detect it (the machine does). I received this message on the CubeProgrammer:
ST-LINK error (DEV_CONNECT_ERR)

I tried the same setup on a Windows PC and it worked perfectly (with the same version of CubeProgrammer).

What could be the possible solution?

Best regards,

This topic has been closed for replies.
krotti42Best answer
Associate II
Jun 28, 2024 12:49 PM UTC

Could be an permission issue.

The required udev rules are in /etc/udev/rules.d directory?

Normally they must be installed manually. They can be found under the install path form STM32CubeProgrammer Drivers/rules.

 

1 reply

krotti42Best answer
Associate II
Jun 28, 2024 12:49 PM UTC

Could be an permission issue.

The required udev rules are in /etc/udev/rules.d directory?

Normally they must be installed manually. They can be found under the install path form STM32CubeProgrammer Drivers/rules.