cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX fails to erase memory on STM32H745I-DISCO Board

CChri.5
Associate III
 
3 REPLIES 3
CChri.5
Associate III

 -------------------------------------------------------------------

                STM32CubeProgrammer v2.9.0          

       -------------------------------------------------------------------

     

    ST-LINK SN : 003B00273137511539383538

    ST-LINK FW : V3J9M3

    Board    : STM32H745I-DISCO

    Voltage   : 3.27V

    SWD freq  : 24000 KHz

    Connect mode: Normal

    Reset mode : Software reset

    Device ID  : 0x450

    Revision ID : Rev V

    Device name : STM32H7xx

    Flash size : 2 MBytes

    Device type : MCU

    Device CPU : Cortex-M7/M4

    BL Version : 0x90

     

     

     

    Memory Programming ...

    Opening and parsing file: target.hex

     File     : target.hex

     Size     : 192088 Bytes

     Address    : 0x08000000 

     

     

    Erasing memory corresponding to segment 0:

    Erasing internal memory sector 0

    Erasing memory corresponding to segment 1:

    Erasing internal memory sectors [0 1]

    Erasing memory corresponding to segment 2:

    Erasing external memory sector 0

    Error: failed to erase memory

     

     

    Error: failed to erase memory

     

    Hard reset is performed

    make[2]: Leaving directory 'c:/TouchGFXProjects/MyApplication_12'

    make[1]: Leaving directory 'C:/TouchGFXProjects/MyApplication_12/gcc'

    Done

  Done

CChri.5
Associate III

Not sure why, I have tried to erase flash memory on CubeProgrammer, and seems to be fine. But fails on external memory

MM..1
Chief II
  • This board is featured with 2 x 512-Mbit Quad-SPI NOR Flash memory

For erasing you need right config, how you create touchgfx project?