2023-06-10 03:02 PM
hey
I work with NUCLEO-H723ZG,STM32 Nucleo-144 development board with STM32H723ZG MCU.
I try to implement web-server on my board.I work with the example of LwIP_HTTP_Server_Netconn_RTOS.
From my test, the size of the website will be larger than 600MB. This is problem because the memory of the STM32H723ZG MCU is 1MB.
I will probably have to use external memory, but I will be happy to hear your advice on what to do and what type of memory to use,or maybe there is solution without use external memory?
Thank you very much
2023-06-11 01:32 AM
Is all this data read only and static, or it needs to receive and store some data?
Most modern clients can receive compressed pages.
2023-06-11 02:08 AM
I need to receive and store some data on the STM
2023-06-11 03:41 AM
Try to use a SD card or eMMC with fat32 or other filesystem.
QSPI or OSPI flash chips may be easier to use, but AFAK these don't come close to 600 MB.
2023-06-12 02:49 AM
If the website will be 5MB
Is it possible to use a larger Flash and run all the code from it and keep all the variables and arrays on it?
Instead of using the memory built into the component, use external flash directly for all the code
is it possible?
Thank you
2023-06-12 03:24 AM
QSPI or OSPI flash chips of 16 to 32 MB are common, with these 5 MB is a trivial size.
They can be also used in memory mapped mode and support code execution.
But write to QSPI flash does not work in memory mapped mode.