cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP257F-EV1, no DFU detected by Cube

dujavi1980
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
thismarkjohnson
Associate II

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.

View solution in original post

3 REPLIES 3
thismarkjohnson
Associate II

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.

Thanks! It worked.

PatrickF
ST Employee

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.
Tip of the day: Try Sidekick STM32 AI agent, see here