cancel
Showing results for 
Search instead for 
Did you mean: 

After disabling Read Out Protection, the STM32CubeProgrammer was frozen.

LeonSu
Associate II

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

LeonSu_0-1765962324590.png 

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.

LeonSu_1-1765963407322.png

 

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

 

 

1 REPLY 1
STOne-32
ST Employee

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.