2026-01-24 5:06 PM
I am trying to connect the STM32MP257F-EV1, following the guide on the wiki. Followed the LInux preparation. At startup, I get a blinking RED LD1 and steady green LED
When start the laptop on windows, the device manager shows a DFU device a. But when booting up LInux, no device in DFU mode is detected by CubeProgrammer 2.210, either through the GUI or the CLI interface.
Having tried several possible workarounds—such as changing cables, reinstalling drivers and VMs, and reinstalling CubeProgrammer and the supporting software
The board seems to be working as when I reconfigure the boot switches, the display and camera work OK
Could someone suggest what I might be doing wrong or if there is a known solution?
Linux shows this:
T: Bus=01 Lev=01 Prnt=04 Port=02 Cnt=01 Dev#= 11 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0483 ProdID=df11 Rev=02.00
S: Manufacturer=STMicroelectronics
S: Product=DFU in HS Mode @Device ID /0x505, @Revision ID /0x2000
S: SerialNumber=004600244236500700333258
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=02 Driver=(none)
Thanks a lot,
Javier
Solved! Go to Solution.
2026-01-24 10:45 PM
Linux is actually seeing the board correctly in DFU mode (Vendor 0483 / df11), but CubeProgrammer can’t access it because the udev rules/permissions aren’t set. You need to install the ST udev rules (from CubeProgrammer install folder) and reload udev or run CubeProgrammer with sudo. On Linux this is almost always a permissions issue, not a board problem.
2026-01-24 10:45 PM
Linux is actually seeing the board correctly in DFU mode (Vendor 0483 / df11), but CubeProgrammer can’t access it because the udev rules/permissions aren’t set. You need to install the ST udev rules (from CubeProgrammer install folder) and reload udev or run CubeProgrammer with sudo. On Linux this is almost always a permissions issue, not a board problem.
2026-01-25 12:56 PM
Thanks! It worked.
2026-01-25 11:36 PM
Hi @dujavi1980
When Linux is booted, the USB is not shown as DFU, but USB Gadget (e.g. USB NCM to be shown as an Ethernet port).
DFU is only available
Regards.