Skip to main content
KevinA
Senior
March 14, 2022
Question

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

  • March 14, 2022
  • 3 replies
  • 1560 views

 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.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
March 15, 2022

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
March 15, 2022
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
KevinA
KevinAAuthor
Senior
March 15, 2022

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!