cancel
Showing results for 
Search instead for 
Did you mean: 

Target error with TouchGFX Designer

FAuza.1
Associate III

I have a STM32H747I-DISCO board and I'd like to test the TouchGFX on Windows10. I designed a simple application with 2 screens and 2 buttons, and it runs ok on the simulator. But I get an error when exporting to the target.

Here is the complete error message:

Run Target
    Generate
        Done
    Generate Assets
        make -f simulator/gcc/Makefile assets -j8
        Converting images
        Reading ./application.config
        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
        Converting images
        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 -j8 flash
        Converting images
        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.7.0                  
              -------------------------------------------------------------------
        
        ST-LINK SN  : 003400373037510339373532
        ST-LINK FW  : V3J7M2
        Board       : STM32H747I-DISCO
        Voltage     : 3.22V
        Error: No STM32 target found!
        2nd connect tentative with a lower frequency (8MHz)
        ST-LINK SN  : 003400373037510339373532
        ST-LINK FW  : V3J7M2
        Board       : STM32H747I-DISCO
        Voltage     : 3.22V
        Error: No STM32 target found!
        make[1]: *** [_extflash_] Error 1
        c:/TouchGFXProjects/DemoApp/gcc/include/flash_sections_int_ext.mk:2: recipe for target '_extflash_' failed
        ../gcc/Makefile:50: recipe for target 'flash' failed
        make: *** [flash] Error 2
        Failed
    Failed

Can anyone help?

Thanks a lot!

10 REPLIES 10

Well good to hear that you are able to work with one now ^^

/Romain