How to put the Portenta H7 into DFU mode for STM32CubeProgrammer

Is it even possible to use the STM32CubeProgrammer to flash a .bin built with STM32CubeIDE to the Portenta H7. The first step is to get the Portenta H7 into DFU mode which I have not yet succeeded in doing.

The Portenta H7 has one button:

  • Press it once and the PC beeps, release it the PC beeps again. No led's.
  • Press it twice and the PC beeps twice and the green led is flashing.
  • Unplug it, hold the button down and plug it back in results in a solid red led. Release the button the PC beeps once. No led's.

Is there a trick to get it into DFU mode?

Device manager never shows it as a DFU device.

Any ideas?

Get the lates bootloader here:

Use this one:
portentah7_bootloader_mbed_hs_v2.hex

So how ? @rtalan

I have an update for you. There is a new bootloader that is working for me now. You can find it here:

It is the:

portentah7_bootloader_mbed_hs_v2.hex

I hope this helps.

1 Like