External Flash Download Fails most of the times
Hi,
I am working on STM32L4R9_Discovery board. I have created a blank TouchGFX project and i have added around 20 images to the project so that image data will be written to the external flash. And after compilation, size of the target.hex file is shown as 11694700 Bytes(11.7MB) and my flash size is 64MB. After compilation i selected Run Target option which is present on the TouchGFX Tool to download code to the kit.
Sometimes download gets successful. But Most of the times download fails after download initiation and gives below message.
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 43]
Erasing memory corresponding to segment 1:
Erasing external memory sectors [0 175]
Download in Progress:
±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± 0%
Û 3%Û 4%Û 6%Û 9%Û 10%Û 12%Û 14%Û 17%Û 18%Û 20%Û 23%Û 25%Û 26%Û 28%Û 31%Û 32%Û 34%Û 36%Û 39%Û 40%Û 42%Û 45%Û 47%Û 48%Û 50%Û 53%Û 54%Û 56%Û 58%
Error: failed to download Segment[1]
Error: failed to download the File
Time elapsed during download operation: 00:01:29.861
Hard reset is performed
gcc/Makefile:282: recipe for target '_extflash_' failed
make[1]: *** [_extflash_] Error 1
../gcc/Makefile:50: recipe for target 'flash' failed
make: *** [flash] Error 2
Failed
Failed
This i have tried with STM32CubeProgrammer also and same thing happens.
I googled and tried many ways, but not found any resolution for this.
Could you please help to resolve this issue.
Thanks and Regards,
Bala
