cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer USB DFU not detected on linux

VNong
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

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

View solution in original post

4 REPLIES 4
Pavel A.
Evangelist III

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

AScha.3
Chief III

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 "Accept as Solution".

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

VNong
Associate II

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

Thanks!