Error finishing flash operation when programming STM32H745I-DISCO in STM32CubeIDE
Hi folks,
I am working with an STM32H745I-DISCO board and trying to run example projects as well as TouchGFX-generated applications.
Board: STM32H745I-DISCO
IDE: STM32CubeIDE (latest version)
ST-LINK: Firmware updated to latest version
- Programmer: I can flash using STM32CubeProgrammer without issues (LED blink works fine)
When I try to flash projects such as the LTDC_Display_1Layer (CM7) example or a TouchGFX application, I consistently encounter the following error in STM32CubeIDE (screenshot/log attached).

What I have already tried:
Full chip erase in STM32CubeProgrammer
Checked Option Bytes (RDP = 0xAA, nDBANK set correctly, BOOT address = 0x08000000)
Tried connect under reset in debug config
Updated ST-LINK firmware
Verified that CM7 project is selected (not CM4)
Rebuilt/cleaned project
Verified that other small examples can flash correctly
Could you please guide me on what might be causing the flash operation to fail only for these larger / graphics-based projects, while simpler ones like LED blink work fine?
