Les petits ST-LINK chinois marchent bien :
Avec le petit fichier udev qui va bien :
/etc/udev/rules.d/49-stlinkv2.1.rules :
stm32 nucleo boards, with onboard st/linkv2-1
ie, STM32F0, STM32F4.
STM32VL has st/linkv1, which is quite different
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b",
MODE:="0666",
SYMLINK+="stlinkv2-1_%n"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748",
MODE:="0666",
SYMLINK+="stlinkv2_%n"
If you share your linux system with other users, or just don't like the
idea of write permission for everybody, you can replace MODE:="0666" with
OWNER:="yourusername" to create the device owned by you, or with
GROUP:="somegroupname" and mange access using standard unix groups.
Ce fichier permet à l'utilisateur non root d'accéder au device, qu'il soit un ST-LINK ST MicroElectronics ou un ST-LINK chinois.