Can't flash big binaries using dfu-util/pydfu to STM32H743VIT6
Seems it is an issue with STM32H743 and flashing bank 2. It fails doing eras to that page (0x8100000), like shown here:
https://community.st.com/s/question/0D50X0000CBk88MSQR/stm32h743-usb-dfu-cannot-write-to-flash-bank-2
The fix is to use mass erase, it fixes both dfu-util and pydfu:
./dfu-util -a 0 -S [serial number] -s :force:mass-erase:leave -v -D firmware.dfu