Skip to main content
Ebun.1
Senior
January 6, 2020
Solved

external FLASH

  • January 6, 2020
  • 5 replies
  • 1160 views

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.
Best answer by Ebun.1

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
January 13, 2020

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
January 13, 2020

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
January 14, 2020

Why on earth would you think that?

Ebun.1
Ebun.1AuthorBest answer
Senior
January 14, 2020

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
January 20, 2020

Glad you solved it!