cancel
Showing results for 
Search instead for 
Did you mean: 

Demos not running on STM32F769i-DISCO on Cubeprogrammer 2.6.0

victagayun
Senior III

Hi,

Almost all demos are not able to run and display on STM32F769i-DISCO using v2.6.0.

Below is the terminal log

You may also refer to https://community.st.com/s/question/0D53W00000O1KHJSA3/run-target-on-stm32h747idisco-failed

Run Target
    Generate
        Done
    Generate Assets
        make -f simulator/gcc/Makefile assets -j8
        Reading ./application.config
        Done
    Post Generate
        touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
        Done
    Post Generate Target
        touchgfx update_project --project-file=../STM32F769I_DISCO.ioc --platform=m7
        Done
    Compile
        make -f ../gcc/Makefile -j8
        Reading TouchGFX/application.config
        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 flash
        Reading TouchGFX/application.config
        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 v2.6.0                  
              -------------------------------------------------------------------
        
        Error: External loader C:\Program cannot be loaded.
        Error: External loader Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\ExternalLoader\MX25L512G_STM32F769I-DISCO.stldr cannot be loaded.
        Error: No debug probe detected.
        make[1]: *** [_extflash_] Error 1
        gcc/Makefile:295: recipe for target '_extflash_' failed
        ../gcc/Makefile:53: recipe for target 'flash' failed
        make: *** [flash] Error 2
        Failed
    Failed

1 ACCEPTED SOLUTION

Accepted Solutions
4 REPLIES 4
Houda GHABRI
ST Employee

Hi @victagayun​ ,

There is a known issue in STM32CubeProgrammer v2.6.0 with paths containing spaces.

what's working with v2.6 :

1- open a CMD (windows command line) in STM32CubeProgrammer bin folder.

2- copy your hex in bin folder.

2- Call CLI in this way : STM32_Programmer_CLI.exe -c port=swd -d Firmware.hex -el ExternalLoader/ExternalLoader.stldr (replace ExternalLoader.stldr with the desired external loader);

You can also use the GUI for downloading your hex.

Hope it helps you.

Houda

Houda GHABRI
ST Employee

Hi @victagayun​ ,

I hope my suggestion helps you to run your Demo.

If your question is answered, please close this topic by choosing Select as Best to. This will help other users find that answer faster.

Houda

Not being able to run out of their default installation directory doesn't seem like a satisfactory solution.

Surely the calling app should be quoting the passed path?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I used cubeprogrammer 2.5 instead, as per

https://community.st.com/s/feed/0D53W00000O1KHJSA3