Skip to main content
Associate II
June 28, 2024
Solved

Error connecting with ST-LINK in Linux

  • June 28, 2024
  • 1 reply
  • 3147 views

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,

Best answer by krotti42

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
June 28, 2024

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.