2025-05-11 2:32 AM
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.
2025-05-11 4:16 AM
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:
...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).