Skip to main content
VNong
Associate
December 15, 2022
Solved

STM32CubeProgrammer USB DFU not detected on linux

0693W00000WL7ZIQA1.pngHi,

USB DFU did not work in STM32CubeProgrammer in Linux. The programm did not detect the usb port. But it works faultless in STM32CubeProgrammer in windows.

I tested with STM32CubeProgrammer V2.10 and 2.12, same results.

I have linux mint 20.3 Luna

This topic has been closed for replies.
Pavel A.
Pavel A.Best answer
December 17, 2022

Can it be a permission problem? Do you have udev rules to give access to non-root apps?

4 replies

Pavel A.
Pavel A.Best answer
December 17, 2022

Can it be a permission problem? Do you have udev rules to give access to non-root apps?

AScha.3
Super User
December 17, 2022

same on my linux (MX18) ; stlink working fine; dfu mode seems not "known device" to system,

dmesg shows:

0693W00000WLF51QAH.pngso cannot enumerate.

in Win you need load a special driver for "STM in dfu mode" , otherwise you get same "unknown device" message I had this on my Win7 pc ! ) ; newer installations of stm ide or Cube do it auto and install this driver. (or maybe Win10.. has it in its list to install if needed.)

If you feel a post has answered your question, please click on " Best Answer ".
Pavel A.
December 18, 2022

This is not same. If the device is recognized at all, this isn't a setup or enumeration error.

VNong
VNongAuthor
Associate
December 18, 2022

Yes it causes permission. It worked when I ran program with sudo. I will try to set the udev rule.

Thanks!