2025-12-17 1:31 AM
Hello Everyone!
STM32CubeIDE version: 1.19.0
STM32CubeProgrammer version: 2.18.0
MCU: NUCLEO-STM32U575ZI-Q
I tried to use USBX DFU to update the firmware on the STM32U575ZI. The DFU mode was detected by STM32CubeProgrammer. However, when I clicked the connection button and disabled Read Out Protection, STM32CubeProgrammer was frozen as shown in the following picture
Moreover, I tried to use DfuSe Demo to update the firmware. It erased the flash (I double‑checked this with STM32CubeProgrammer), but it could not write data to the MCU, as shown in the following picture.
Could anyone provide us with some suggestions?
We will be grateful for any help you can provide.
reference:
STM32Cube\Repository\STM32Cube_FW_U5_V1.8.0\Projects\STM32U5G9J-DK2\Applications\USBX\Ux_Device_DFU
2025-12-17 2:12 AM
Dear @LeonSu ,
Are you using the Factory embedded bootloader or the DFU IAP example in main flash ?, if it is the second case - it may happen that the DFU code (in charge of the operation) Erased itself and whole flash so Both Tools will hang as the firmware of DFU also is erased. To check that, please share setup of the DFU code used ( Hex file ) and also the new Application ( hex code - such as Application2.Dfu.. or like) .
let us know if it helps.
STOne-32.