@danielmartynek
Many thanks for your response.
Our project uses the Standby SRAM region to exchange information between three different software images: Boot Manager, Bootloader, and Application.
Only after a Power-on Reset / Destructive Reset, the Boot Manager initialize this Standby SRAM region.
After a functional reset, this memory region is intentionally left untouched so that it can retain useful information for the other software images.
The current issue for us is that after BIST self-test, the SRAM contents appear to be invalidated, even though the resulting reset is a functional reset.
As a result, when the Boot Manager later reads a value from Standby SRAM, it triggers an exception.
Our assumption, based on Section 29.2.2 "Chip reset types" in S32K396RM Rev. 4, 11/2024, is that loss of SRAM contents should be associated with destructive reset, not functional reset.
Therefore, we would like to understand the following:
- Is there a specific reason why BIST self-test results in a functional reset, even though it appears to cause SRAM re-initialization or loss of SRAM validity?
- Could you also please confirm whether this behavior is expected by design on S32K394?
This distinction is important for our software architecture, because we currently rely on Standby SRAM retention across functional resets for communication between Boot Manager, Bootloader, and Application.
Thank you.