2025-10-28 12:45 AM
Hi,
I'm developing a SW project in a WINSTAR display (MCU STM32F750) and using the STM SW (TouchGFX Designer, STM32CubeIDE and STM32CubeProgrammer).
Until now, I design different screens and some parameters are saved and managed by means of the Model.cpp & Model.hpp.
But now I need to save some values in the non-volatile memory because I need the screen starts with specific values stored.
What I need to configure and add in the code (and where) to enable the writing and reading in non-volatile memory?
Thanks in advance for your time :)
Josep
2025-10-28 2:43 AM
Hello Josep,
Do you have any other non-volatile memory than the internal flash available on your board?
I would handle this in the model just like the rest of your data.
2025-10-28 3:14 AM
Hi mathiasmarkussen,
I don't have any other non-volatile memory.
How I can manage that non-volatile values in the model?
As I know, the model save values while the screen is switched on. How I can save a specific value and get that value in the next screen wake-up?