Skip to main content
Caan
Associate III
Feb 28, 2023 6:39 PM UTC
Solved

Extending Flash memory on STM32F429 MCU using external memory that can store images during MCU Flashing

..

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Feb 28, 2023 8:08 PM UTC

Well it doesn't support QSPI, and the SPI implementation doesn't map into the memory space of the MCU directly.

You could use SPI to connection to W25Q256 or MT25L256 type devices in 8 or 16-pin packages. These are NOR Flash.

The F429 can support F(S)MC peripheral for parallel RAM or FLASH, but these soak up a lot of pins vs SPI, QSPI type devices.

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

4 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Feb 28, 2023 8:08 PM UTC

Well it doesn't support QSPI, and the SPI implementation doesn't map into the memory space of the MCU directly.

You could use SPI to connection to W25Q256 or MT25L256 type devices in 8 or 16-pin packages. These are NOR Flash.

The F429 can support F(S)MC peripheral for parallel RAM or FLASH, but these soak up a lot of pins vs SPI, QSPI type devices.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Caan
CaanAuthor
Associate III
Mar 1, 2023 11:09 AM UTC

So what is the best way to go? I have a RGB Interface with the 7" LCD in RGB565 Mode and SRAM With the Dev board already connected, And I want to extend the Flash on the Stm32f429 to save the image data.

are there External loaders for NOR Flash available to do so inside STM32CUBEIDE?

Caan
CaanAuthor
Associate III
Mar 1, 2023 3:43 AM UTC

So what is the best way to go? I have a RGB Interface with the 7" LCD in RGB565 Mode and SRAM With the Dev board already connected, And I want to extend the Flash on the Stm32f429 to save the image data.

are there External loaders for NOR Flash available to do so inside STM32CUBEIDE?

Tesla DeLorean
Guru
Mar 7, 2023 7:05 PM UTC

You'd have to write one, based on your board, pins, and part selection.

You'd need a BSP (Board Support Package) to read content, suggest implementing the erase and write, this way you can test it in your own application code.

You could perhaps implement code to allow upload of a hex file, or reading from MicroSD, etc.

With working functions you could port those into a SPI_FLASH External Loader.

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