cancel
Showing results for 
Search instead for 
Did you mean: 

What display (X-NUCLEO-GFX01M1 or X-NUCLEO-GFX01M2) does the STM32G071 NUCLEO Example use? The external flash loader fails.

KevinA
Senior

 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.10.0                 

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

       ST-LINK SN : 066CFF393934504157073017

       ST-LINK FW : V2J39M27

       Board      : NUCLEO-G071RB

       Voltage    : 3.23V

       SWD freq   : 4000 KHz

       Connect mode: Normal

       Reset mode : Software reset

       Error: Unable to list supported devices

       Error: Cannot identify the device

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

       c:/TouchGFXProjects/MyApplication_5/gcc/include/flash_sections_int_ext.mk:2: recipe for target '_extflash_' failed

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

       make: *** [flash] Error 2

       Failed

   Failed

The difference between X-NUCLEO-GFX01M1 and X-NUCLEO-GFX01M2 is a second SPI channel.

3 REPLIES 3

Issues with the loader have been reported within the last week. Indications are that​ this is being looked into.

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

Cross linking so I can find later https://community.st.com/s/question/0D53W00001PXOc3SAH/failed-to-list-external-loader

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

UPDATE:

I made a mistake, I installed STM32CubeProgrammer to D:\STMicroelectronics\STM32Cube\STM32CubeProgrammer BUT the *.mk files are hard coded for C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin or the Program Files (x86) for 32 bit installs. To fix that issue I copied D:\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin to C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin so I put x64 code in the x86 directory...

I removed the STM32CubeProgrammer from D: and installed in C: TouchGFX works GRREAT!