cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H747I DISCO Run Target Errior

JKim.1006
Associate

Hello, Now I'm using stm32h747I DISCO to display something.

but when I push Run target button, following Error has occured.

I'll waiting your help.

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

  Done

 Flash

  make -f ../gcc/Makefile -j8 flash

  STM32CubeProgrammer is placed in Program Files

  STM32CubeProgrammer is placed in Program Files (x86)

  Converting images

  STM32CubeProgrammer is placed in Program Files (x86)

  Linking TouchGFX/build/bin/target.elf

  Producing additional output formats...

   target.hex - Combined internal+external hex

   intflash.elf - Internal flash, elf debug

   intflash.hex - Internal flash, hex

   extflash.bin - External flash, binary

  STM32CubeProgrammer is placed in Program Files (x86)

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

        STM32CubeProgrammer v2.2.0      

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

   

  ST-LINK SN : 005000293137510D39383538

  ST-LINK FW : V3J3M2

  Voltage  : 3.26V

  SWD freq : 24000 KHz

  Connect mode: Normal

  Reset mode : Software reset

  Device ID : 0x450

  Device name : STM32H7xx

  Flash size : 2 MBytes

  Device type : MCU

  Device CPU : Cortex-M7

   

   

   

  Memory Programming ...

  Opening and parsing file: target.hex

   File   : target.hex

   Size   : 743416 Bytes

   Address  : 0x08000000 

  Erasing memory corresponding to segment 0:

  Erasing internal memory sector 0

  Error: failed to erase memory

  Error: failed to erase memory

  Hard reset is performed

  gcc/Makefile:334: recipe for target '_extflash_' failed

  make[1]: *** [_extflash_] Error 1

  make: *** [flash] Error 2

  ../gcc/Makefile:50: recipe for target 'flash' failed

  Failed

 Failed

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

2 REPLIES 2
Martin KJELDSEN
Chief III

Hi,

I don't know - It seems like something general (can't erase internal flash). Can you try running STM32CubeProgrammer stand alone and programming it manually? You should have a .hex file in your build/ folder.

Are you getting the same results then?

/Martin

I have the same problem when I used STM32H747I DISCO. I have already installed the STM32Cubeprogrammer, but still could not use 'run target' button in TouchGFX. I can download the hex file to the board by STM32 Uitility, but it wastes time.