Skip to main content
Associate
January 25, 2026
Solved

STM32MP257F-EV1, no DFU detected by Cube

  • January 25, 2026
  • 2 replies
  • 237 views

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

Best answer by thismarkjohnson

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.

2 replies

thismarkjohnson
thismarkjohnsonBest answer
Associate II
January 25, 2026

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.

Associate
January 25, 2026

Thanks! It worked.

PatrickF
Technical Moderator
January 26, 2026

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.NEW ! Sidekick STM32 AI agent, see here