cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting with ST-LINK in Linux

mikel-m
Associate II

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,

1 ACCEPTED SOLUTION

Accepted Solutions
krotti42
Associate II

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.

 

View solution in original post

1 REPLY 1
krotti42
Associate II

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.