2022-04-23 02:12 PM
2022-04-23 02:12 PM
-------------------------------------------------------------------
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
2022-04-23 02:14 PM
Not sure why, I have tried to erase flash memory on CubeProgrammer, and seems to be fine. But fails on external memory
2022-04-24 01:21 AM
For erasing you need right config, how you create touchgfx project?