cancel
Showing results for 
Search instead for 
Did you mean: 

Does STM32CubeProgrammer/Linux support Stlinkv3?

Uwe Bonnes
Principal III

Hello,

after some fiddling, I can run STM32CubeProgrammer and I can see/update/connect to the stlinkv2 on nucleo boards. On the same machine, I can also connect to a STLINKV3 when running STM32CubeProgrammer/windows in a virtual box. However STM32CubeProgrammer/Linux and STLinkUpgrade/Linux can not see the StlinkV3.

Do I miss something? Is that known behaviour?

3 REPLIES 3
Andreas Bolsch
Lead II

On my linux system, V3 connected to USB 2.0 port is detected by STLinkUpgrade and update mode can be activated. STM32CubeProgrammer detects V3, too. Don't have a target connected right now, so I can't confirm whether it actually works. (On USB 3.0 port, it is not detected.)

Maybe the udev rules are missing on your system? From my setup:

# stlink-v3 boards (standalone and embedded) in usbloader mode and standard (debug) mode

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374d", \

 MODE:="0664", GROUP:="trusted", SYMLINK+="stlinkv3loader_%n"

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374e", \

 MODE:="0664", GROUP:="trusted", SYMLINK+="stlinkv3_%n"

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374f", \

 MODE:="0664", GROUP:="trusted", SYMLINK+="stlinkv3_%n"

Uwe Bonnes
Principal III

I tested on a USB3 port. Testing on a USB2 hub connected to an USB3 Hub, the device is still not detected.

Andreas Bolsch
Lead II

Same for me, USB-2.0 hub on USB-3.0 port: STLink V3 not detected. Only native USB-2.0 works.