Updating password stored on MCU flash
Hi All,
I have a situation where I would like to allow STM32H7 based embedded web server users to update the password which is originally hardcoded in the code using const keyword. Which effectively means password is placed in internal flash memory of the microcontroller.
I can remove const but question is that:
Is there any way to update password run time which is available on next power cycle without using anything external to STM32H7 microcontroller?
I am using STM32H747 MCU and IAR embedded workbench environment for development. Currently using the Nucleo board.
The application is a embedded web server while browser is the client where user logs in to the device to change settings etc. .
I did come across some articles which did say it is possible to update password stored on flash of MCU’S but didn't give much detail about how to do it in a way once device switched off and back ON the updated password is still available or next login will require new password.
Thanks in advance
Regards
A Maq
