2025-09-12 3:30 AM - last edited on 2025-09-12 4:07 AM by Andrew Neil
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
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?
2025-09-12 3:50 AM
Hello @YashaswiniMN,
Have you tried to close and re-open CubeIDE or even restart the computer ?
BR,
2025-09-12 4:07 AM
Hi @LouisB
We tried closing and re-opening CubeIDE, but the same error remains.
Then we used CubeProgrammer to perform a full chip erase and re-flash the firmware. However, the error still persists, and now the MCU appears to be locked, preventing us from flashing it anymore.