cancel
Showing results for 
Search instead for 
Did you mean: 

little fs for stm32h743ii

KNaim.1
Associate II

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.

 

 

 

1 REPLY 1
AScha.3
Chief III

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 "Accept as Solution".