Skip to main content
Associate
August 13, 2026
Question

Custom Bootloader works with DFUSE DEMO but not with StmCubeProgrammer

  • August 13, 2026
  • 1 reply
  • 18 views

We have device that has Stm32F405RG T6 Microcontroller. We have been using DFUSE Demo tool to update image.

we have bootloader app (custom bootloader) and main app.

we flash bootloader + app to device using STLINK JTAG.

Custom boot loader checks for certain button to decide if jump to app or remain in DFU mode to upload new image to device.

This works fine with DFUSE demo tool but when we use StmCubeProgrammer (after updating to stm32bootloader usb driver)

it can detect the device in DFU mode on USB but only in read-only mode, we can not write any bin file back to device.

 

1 reply

vv1Author
Associate
August 14, 2026

We don’t use latest USB_DEVICE_LIBRARY can this have any effect? I can see that they still implement DFU protocol 1.1 though there are some minor differences.