cancel
Showing results for 
Search instead for 
Did you mean: 

USB DFU STM32H745I-DISCO can't write / erase internal flash over 0x08100000.

Ade1
Associate II

I have the STM32H745I-DISCO board. Using STM32CubeProgrammer and STLink the internal flash can be erased and programmed OK however erasing / programming bank 2 using DFU fails even after full chip erase using STLink. Are there additional steps needed to write bank 2 with DFU?

11:08:30:432 : sending a page erase request @: 0x08000000

11:08:31:410 : erasing sector 0000 @: 0x08000000 done

11:08:41:626 : sending a page erase request @: 0x08100000

11:13:41:673 : an error occured during the flash sector erase

11:13:41:673 : erasing sector 0008 @: 0x08100000 failed

2 REPLIES 2
Houda GHABRI
ST Employee

Hi @Ade​ 

Can you please try with last CubeProgrammer version :2.2.0 ?

Regards,

Houda

Ade1
Associate II

Thanks Houda,

Sorry for late reply. It is working with the last CubeProgrammer now version: 2.2.1.

10:39:26 : MASS ERASE ... 

10:39:27 : erasing sector 0000 @: 0x08000000 done

.

10:39:34 : erasing sector 0007 @: 0x080e0000 done

10:39:36 : erasing sector 0008 @: 0x08100000 done

.

10:39:50 : erasing sector 0015 @: 0x081e0000 done

10:39:50 : Mass erase command correctly executed.