2019-07-12 12:03 AM
When i try to load an application to that disco board i keep having:
An error occured during flash. Please make sure you have the right target connected.
STM32CubeProgrammer is placed in Program Files
STM32CubeProgrammer is placed in Program Files
Converting images
STM32CubeProgrammer is placed in Program Files
STM32CubeProgrammer is placed in Program Files
Flashing bootloader
/usr/bin/sh: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe: No such file or directory
gcc/Makefile:463: recipe for target 'flash_bootloader' failed
make[1]: *** [flash_bootloader] Error 127
../gcc/Makefile:53: recipe for target 'flash' failed
make: *** [flash] Error 2
this happen both with my application and the online application downloaded for H750 via touchGfx, but if i make a new project with just a button, it works fine...
should i reinstall stm32CubeMx? (due that error...)
Solved! Go to Solution.
2019-07-12 04:31 AM
You need to install STM32CubeProgrammer
(/usr/bin/sh: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe: No such file or directory)
/Martin
2019-07-12 12:09 AM
Hi, how big is your program and where do you want to put it?
2019-07-12 12:36 AM
as i said, is the online demo.. the one with bathroom and kitchen with no modifications
2019-07-12 01:07 AM
I have been able to download it onto a STM32H745I-DISCO with Cube programmer. Same board just with a dual core but addressing the same. You need to select an external loader.
2019-07-12 04:31 AM
You need to install STM32CubeProgrammer
(/usr/bin/sh: C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe: No such file or directory)
/Martin
2019-07-12 04:33 AM
If you already have it installed i think, over the last few versions, that the installation folder has changed, and we have a hard reference to the CLI.exe in our Makefile. Just change the path in your makefile to patch your installation if you already have it installed.
/Martin
2019-07-12 02:34 PM
I have been looking for the source for this demo because I'd like to see how they did the video and have not been able to find it. Could you provide a link to where you found it?
2019-07-15 12:40 AM
Hi @scottSD
We do not have a weblink for the source code for the demo, instead you have to go through the TouchGFX Designer to create an application for the STM32H750 Discovery board.
This is how you do it:
After opening TouchGFX Designer, select the tab called "Online Applications"
Here you will find demo applications which are tied to a specific board, the application you are interested in is called "STM32H750 Discovery OoB Demo"
/Anders
2019-07-15 06:14 AM
Thankyou Anders.
Just what I was looking for!