Skip to main content
KNaim.1
Associate III
May 11, 2025
Solved

little fs for stm32h743ii

  • May 11, 2025
  • 3 replies
  • 575 views

Dear all,

I have dev a custom board  pcb based on stm32h743ii with 32MB of flash and 32MB  sdram FMC  for a 7 inch lcd HD. I am new on cubeide i coming from esp32 world and i have some programing dev question .

Is it a good idear to implement :

To partition the flash in 2 regions 1 for system the 2  to store image in the flash in png or jpeg format then load them....

What is the best solution for this family of mcu.

 

 

 

This topic has been closed for replies.
Best answer by AScha.3

Yes, should work.

I searched forum : > QSPI flash fatfs <

->

https://community.st.com/t5/stm32-mcus-products/what-is-the-best-way-to-get-started-with-qspi-flash-and-stm32f7/m-p/394248#M109899

or

you could use the sdram , for display only small part used, i suppose.

3 replies

AScha.3
Super User
May 11, 2025

Hi,

the H743xI has 2MB flash , this should be enough for most programs. :)

(Just my program on H743 here , has about 10000 lines C , needs about 170 KB flash, with -O2 optimizer set. )

 

>What is the best solution for this family of mcu.

As always: what fits your needs, the cpu dont matter. Most used here is probably fatfs .

Can be selected in Cube:

AScha3_0-1746962152247.png

...also for external flash...

 

So for your pictures : are pics fix - or changing many times ?

-> just because you write them once to the external flash or want to modify them often?

If fix, i would write them simply as data arrays, no file system needed.

If edit pics, change them often, i would prefer something like a sd-card, with fatfs (so edit on PC is easy).

If you feel a post has answered your question, please click on " Best Answer ".
KNaim.1
KNaim.1Author
Associate III
May 12, 2025

Thanks for this first answer i don't have sram on the pcb  and not usb otg when i have builded the board  it was my first 4 layers pcb  and i was really happy that my custom board was working after the first soldering with the following spec:

 

QSPI flash    25Q256JVEN / 32MB

sdram : w9825g6kh 256/ 32 MB

LTDC: 24 bit rgb888

I2C : touch ft 5426

Is it possible to create a file system fatfs on a partition of the QSPI flash ? 

AScha.3
AScha.3Best answer
Super User
May 12, 2025

Yes, should work.

I searched forum : > QSPI flash fatfs <

->

https://community.st.com/t5/stm32-mcus-products/what-is-the-best-way-to-get-started-with-qspi-flash-and-stm32f7/m-p/394248#M109899

or

you could use the sdram , for display only small part used, i suppose.

If you feel a post has answered your question, please click on " Best Answer ".