Skip to main content
jsavy.1
Associate
January 30, 2020
Solved

how to upload program in external flash on stm32f746g-DISCOVERY?

  • January 30, 2020
  • 5 replies
  • 1307 views

hi everybody,

I am working on a project with the stm32f746g-DISCOVERY board , I use Touch GFX to make a hmi.

The 1 Mbyte of Flash in the microcontroller is too short for my use

I am using keil to develop the project

if possible what setting do I need to change in keil ?

I hope somebody can help me (:

julien

This topic has been closed for replies.
Best answer by Tesla DeLorean

You'll want to use the QuadSPI (QSPI) external flash to hold large objects.

You'd enable the QSPI in the STM32 side software. ie clocks, pins, peripheral

You'd change the Target memory map to describe the 0x90000000 memory space to the linker.

You'd change the Debugger Option, Flash Download settings to Add the Flash Algorithm for the STM32F746G External QSPI Memory

Perhaps review/familiarise yourself with the examples

STM32Cube_FW_F7_V1.15.0\Projects\STM32746G-Discovery\Examples\QSPI\QSPI_PreInitConfig\readme.txt

5 replies

Olivier GALLIEN
ST Technical Moderator
January 30, 2020

Redirect to "STM32 MCUs", "STM32F4" topics to be seen by relevant audience.

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
January 30, 2020

"STM32F7" would be better, I'd edit these things, but this forum software is broken

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Olivier GALLIEN
ST Technical Moderator
January 30, 2020

Thanks @Community member​ 

Indeed "F7" .. have to wear my glasses ;)

I report your issue around Topic edition.

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
January 30, 2020

You'll want to use the QuadSPI (QSPI) external flash to hold large objects.

You'd enable the QSPI in the STM32 side software. ie clocks, pins, peripheral

You'd change the Target memory map to describe the 0x90000000 memory space to the linker.

You'd change the Debugger Option, Flash Download settings to Add the Flash Algorithm for the STM32F746G External QSPI Memory

Perhaps review/familiarise yourself with the examples

STM32Cube_FW_F7_V1.15.0\Projects\STM32746G-Discovery\Examples\QSPI\QSPI_PreInitConfig\readme.txt

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

Thank you very mutch =) @Community member​