Skip to main content
aciuf
Associate III
Jun 11, 2020 5:47 AM UTC
Solved

[SOLVED] ST-LINK Utility problem to flash more than 256 Mbyts

I can program my STM32F746G-DISCO with CubeWorkspace without problem but if I use ST-LINK the same .bin file give this error

07:37:27 : Device ID:0x449

07:37:27 : Device flash Size : 1MBytes

07:37:27 : Device family :STM32F74x/F75x

07:37:38 : File size is bigger than the flash memory size.

07:37:39 : Read Size is too big. Only the first 256 MBytes of data will be displayed.

Why ?

0693W000001qTfLQAU.jpg

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 11, 2020 7:39 AM UTC

Don't use a .BIN file with sparsely populated memory areas. Use the .HEX or .ELF forms.​

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

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 11, 2020 7:39 AM UTC

Don't use a .BIN file with sparsely populated memory areas. Use the .HEX or .ELF forms.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
aciuf
aciufAuthor
Associate III
Jun 11, 2020 7:54 AM UTC

How I can generate the .HEX or .ELF with CubeWorkspace ?

aciuf
aciufAuthor
Associate III
Jun 11, 2020 8:00 AM UTC

0693W000001qU2FQAU.jpgFound in another post, thank you now ST-LINK can flash!