2022-12-15 08:28 AM
Hi,
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
Solved! Go to Solution.
2022-12-17 07:22 AM
Can it be a permission problem? Do you have udev rules to give access to non-root apps?
2022-12-17 07:22 AM
Can it be a permission problem? Do you have udev rules to give access to non-root apps?
2022-12-17 10:08 AM
same on my linux (MX18) ; stlink working fine; dfu mode seems not "known device" to system,
dmesg shows:
so 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.)
2022-12-17 08:57 PM
This is not same. If the device is recognized at all, this isn't a setup or enumeration error.
2022-12-18 12:17 PM
Yes it causes permission. It worked when I ran program with sudo. I will try to set the udev rule.
Thanks!