Skip to main content
Uwe Bonnes
Chief
Nov 20, 2018 3:19 PM UTC
Question

Does STM32CubeProgrammer/Linux support Stlinkv3?

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?

This topic has been closed for replies.

3 replies

Andreas Bolsch
Lead III
Nov 20, 2018 7:15 PM UTC

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
Chief
Nov 21, 2018 11:41 AM UTC

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 III
Nov 21, 2018 12:08 PM UTC

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