Associate II
March 30, 2023
Question
"Error: failed to download Segment[1]" error occurs in the middle of downloading the STM32U5A9J-DK touchgfx DEMO project
- March 30, 2023
- 7 replies
- 5094 views
Hello,
I just encountered "failed to download Segment[1]" error in the middle of tough gfx project downloading.
Demo Board : STM32U5A9J-DK
CubeProgrmmer version : 2.13.0
TouchGFX version : 4.21.3

Error message capture
I found that toughgfx is using the Cubeprogrammer tool for binary downloading.
So I searched if the CubeProgrammer has the STM32U5A9J-DK ext-flash binary but can't find for it.
Seems tool update is needed.
I also found that cuscumized ext-flashing binary can be created with IAR compiler.
https://github.com/STMicroelectronics/stm32-external-loader
But I don't have the IAR :(
So it would be appreciated if to provide the patch file or update the CubeProgrammer ASAP.
