Skip to main content
Ebun.1
Senior
Jan 6, 2020 7:12 AM UTC
Solved

external FLASH

Hello

I use STM32F769I-DISCO board and STM32CubeIDE.

The image is displayed correctly when the image is imported to the internal FLASH, but the display is distorted when trying to use the external FLASH.

For details, the display will be distorted if the following is described in the linker script.

ExtFlashSection:

{

* (ExtFlashSection ExtFlashSection. *)

* (. gnu.linkonce.r. *)

    . = ALIGN (0x4);

}> QUADSPI

How to solve it?

Thank you.

This topic has been closed for replies.
Ebun.1
Ebun.1Best answer
Senior
Jan 14, 2020 2:11 AM UTC

Hello.

I solved it with the following method.

Run>Debug Configurations>STM32 MCU Debuging>"yourapp.elf">Debugger and then check "External Loader"

and type "MX25L512G_STM32F769I-DISCO, 0x90000000, NOR_FLASH, MX25L512G_STM32F769I-DISCO.stldr" (in my case)

thank you.

5 replies

Martin KJELDSEN
Principal III
Jan 13, 2020 10:42 AM UTC

How are you creating this project?

How did you program the flash? Are the contents of the flash ok? (if not, then this could get copied to framebuffer).

/Martin

Tesla DeLorean
Guru
Jan 13, 2020 10:54 AM UTC

You'd think an integrated tool would be able to pick and apply the appropriate External Loader for an ST board with an ST-LINK on board.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Martin KJELDSEN
Principal III
Jan 14, 2020 1:20 PM UTC

Why on earth would you think that?

Ebun.1
Ebun.1AuthorBest answer
Senior
Jan 14, 2020 2:11 AM UTC

Hello.

I solved it with the following method.

Run>Debug Configurations>STM32 MCU Debuging>"yourapp.elf">Debugger and then check "External Loader"

and type "MX25L512G_STM32F769I-DISCO, 0x90000000, NOR_FLASH, MX25L512G_STM32F769I-DISCO.stldr" (in my case)

thank you.

Martin KJELDSEN
Principal III
Jan 20, 2020 10:51 AM UTC

Glad you solved it!