Data retention of the internal SRAM in the STM32F769NI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-26 12:24 AM
Hi, I have a question about the internal SRAM1 in the STM32F769NI.
Do I need to do anything special to retain the data in SRAM1 on reset?
If data retention is established by default, do you know how it works?
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-26 6:59 AM - edited ‎2023-07-26 7:00 AM
Unless there is an explicit description in the Reference Manual (RM) of any portion of RAM being cleared upon reset, data are preserved as long as power supply (VDD) is uninterrupted.
However, the C standard requires the translator (compiler and its suite, part of toolchain) to write to initialized variables, and to write zero to uninitialized global and static variables, upon program startup. This happens in the startup code, which is toolchain-dependent.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-27 7:11 PM
Thank you for your reply and advice.
I would like to review startup process.
