cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to flash the STM32U5G9J-DK2

Mon2
Senior III

Hi. Updates:

1) Cancelled our original order with DK due to the ECCN delays. Did receive a notice from the open ticket with ST support that the ECCN issue has been resolved with DK. Mouser did not have this delay so ordered the tool from their store.

2) The STM32U5G9J-DK2 has arrived. Attempting to run anything on this target and facing the following error message log. Unable to locate the hardware guide for the STM32U5G9J-DK2 on the ST website. Can this required document (and schematics) be made available? Unable to determine which jumper setting and which USB cables are required to reflash. The board is powered up fine and did test the factory demos that were pre-loaded.

 

Thanks.

 

Program and Run Target
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
.cproject file: ../STM32CubeIDE/.cproject
Writing STM32CubeIDE project file: ../STM32CubeIDE/.project
Writing STM32CubeIDE project file: ../STM32CubeIDE/.cproject
Done
Compile
make -f ../gcc/Makefile -j8
Reading TouchGFX/application.config
Reading TouchGFX/target.config
Video Objects:
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
Reading TouchGFX/target.config
Video Objects:
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.13.0
-------------------------------------------------------------------

ST-LINK SN : 003E001E3532510B31333430
ST-LINK FW : V3J13M4
Board : STM32U5G9J-DK2
Voltage : 3.27V
SWD freq : 8000 KHz
Connect mode: Normal
Reset mode : Software reset
Error: Cannot identify the device
2nd connect tentative with frequency (8MHz)
ST-LINK SN : 003E001E3532510B31333430
ST-LINK FW : V3J13M4
Board : STM32U5G9J-DK2
Voltage : 3.28V
SWD freq : 8000 KHz
Connect mode: Normal
Reset mode : Software reset
Error: Cannot identify the device
c:/TouchGFXProjects/MyApplication_8/gcc/include/flash_sections_int_ext.mk:5: recipe for target '_extflash_' failed
make[1]: *** [_extflash_] Error 1
../gcc/Makefile:54: recipe for target 'flash' failed
make: *** [flash] Error 2
Failed
Failed

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Mon2
Senior III

Never fails. Found the solution after posting. Still interested in the supporting documents for this new kit please.

Root Cause- the STM32CubeProgrammer was on version 2.13 and latest is 2.15.

Downloaded -> installed -> now working as it should 🙂

Thanks.

 

Program and Run Target
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
.cproject file: ../STM32CubeIDE/.cproject
Writing STM32CubeIDE project file: ../STM32CubeIDE/.project
Writing STM32CubeIDE project file: ../STM32CubeIDE/.cproject
Done
Compile
make -f ../gcc/Makefile -j8
Reading TouchGFX/application.config
Reading TouchGFX/target.config
Video Objects:
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
Reading TouchGFX/target.config
Video Objects:
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.15.0
-------------------------------------------------------------------

ST-LINK SN : 003E001E3532510B31333430
ST-LINK FW : V3J13M4
Board : STM32U5G9J-DK2
Voltage : 3.27V
SWD freq : 8000 KHz
Connect mode: Normal

View solution in original post

3 REPLIES 3
Mon2
Senior III

Never fails. Found the solution after posting. Still interested in the supporting documents for this new kit please.

Root Cause- the STM32CubeProgrammer was on version 2.13 and latest is 2.15.

Downloaded -> installed -> now working as it should 🙂

Thanks.

 

Program and Run Target
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
.cproject file: ../STM32CubeIDE/.cproject
Writing STM32CubeIDE project file: ../STM32CubeIDE/.project
Writing STM32CubeIDE project file: ../STM32CubeIDE/.cproject
Done
Compile
make -f ../gcc/Makefile -j8
Reading TouchGFX/application.config
Reading TouchGFX/target.config
Video Objects:
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
Reading TouchGFX/target.config
Video Objects:
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.15.0
-------------------------------------------------------------------

ST-LINK SN : 003E001E3532510B31333430
ST-LINK FW : V3J13M4
Board : STM32U5G9J-DK2
Voltage : 3.27V
SWD freq : 8000 KHz
Connect mode: Normal

STTwo-32
ST Employee

Hello @Mon2 

Happy to know that your problem is solved. For The product page, i think you can find an answer here.

Best Regards.

STTwo-32 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Mon2
Senior III

Thanks. It appears the product page for these new kits is not yet live (ETA end of January?). It is ok for now.

Have not been enable to test the vector feature for the text scaling but only been at this for a few minutes without reading the manual. Could be a simple case of RTFM.

Update - the vector text support does not appear to be active at this time for these kits - ETA is late January according to one of the articles on this topic.