Skip to main content
JKim.1006
Visitor II
November 8, 2019
Solved

Tutorial 1 Run target error

  • November 8, 2019
  • 7 replies
  • 2459 views

I bought a stm32H747I DISCO for using TouchGFX.

Now I'm following steps of tutorial 1, but Run target is not working.

I will attach Detatiled Log.

Thank you.

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

Run Target

  Generate

    Done

  Generate Assets

    make -f simulator/gcc/Makefile assets -j8

    Converting images

    Done

  Post Generate

    touchgfx update_project --project-file=simulator/msvs/Application.vcxproj && touchgfx update_project --project-file=../EWARM/TouchGFX.ewp

    Done

  Compile

    make -f ../gcc/Makefile -j8

    STM32CubeProgrammer is placed in Program Files

    STM32CubeProgrammer is placed in Program Files

    Converting images

    STM32CubeProgrammer is placed in Program Files

    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

    Done

  Flash

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

    STM32CubeProgrammer is placed in Program Files

    STM32CubeProgrammer is placed in Program Files

    Converting images

    STM32CubeProgrammer is placed in Program Files

    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

    /usr/bin/sh: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe: No such file or directory

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

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

    make: *** [flash] Error 2

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

    Failed

  Failed

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

This topic has been closed for replies.
Best answer by Martin KJELDSEN
/usr/bin/sh: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe: No such file or directory

You need to install STM32CubeProgrammer.

/Martin

7 replies

Martin KJELDSEN
Martin KJELDSENBest answer
Principal III
November 8, 2019
/usr/bin/sh: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe: No such file or directory

You need to install STM32CubeProgrammer.

/Martin

DMeis.1
Associate III
January 21, 2020
Run Target
 Generate
 Done
 Generate Assets
 make -f simulator/gcc/Makefile assets -j10
 Converting images
 Done
 Post Generate
 touchgfx update_project --project-file=../EWARM/STM32F7508_DISCO.ewp --gui-group-name=Application/User/TouchGFX/gui --generated-group-name=Application/User/TouchGFX/generated && touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
 Done
 Compile
 make -f ../gcc/Makefile -j8
 Converting images
 Linking TouchGFX/build/bin/target.elf
 Producing additional output formats...
 target.hex - Combined internal+external hex
 Done
 Flash
 make -f ../gcc/Makefile -j8 flash
 Converting images
 Linking TouchGFX/build/bin/target.elf
 Producing additional output formats...
 target.hex - Combined internal+external hex
 /usr/bin/sh: C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility\ST-LINK_CLI.exe: No such file or directory
 gcc/Makefile:311: recipe for target '_flash_' failed
 make[1]: *** [_flash_] Error 127
 make: *** [flash] Error 2
 ../gcc/Makefile:50: recipe for target 'flash' failed
 Failed
 Failed

I am getting a similar error, i don't know how to install STM32 ST-Link

DMeis.1
Associate III
January 21, 2020