2019-11-07 09:47 PM
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
---------------------------------------------------------------------------------------------------------------------------------------
Solved! Go to Solution.
2019-11-08 05:44 AM
/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
2019-11-08 05:44 AM
/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
2020-01-21 01:23 PM
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
2020-01-21 01:29 PM
https://www.st.com/en/development-tools/stsw-link004.html
nevermind, it was this link.
2020-01-21 01:56 PM
Great. We've considered how to get around users having this issue, maybe bundling the tools and installing them as pre-requisites when installing designer.
2020-02-06 09:22 AM
OK so now I am getting this error...
Flash
make -f target/gcc/Makefile -j8 flash
make: target/gcc/Makefile: No such file or directory
make: *** No rule to make target 'target/gcc/Makefile'. Stop.
Failed
Failed
2020-02-07 01:46 AM
Check target/gcc/Makefile - Do you have that file?
2020-02-07 06:18 AM
yeah the solution here was I went in configure-> build and changed the Target Flash from
make -f target/gcc/Makefile -j8 flash
to
make -f ../gcc/Makefile -j8 flash