Hello,
first of all, you must set watchdog to execute short reset (because of MBIST execution). Please see the example below:
https://community.nxp.com/docs/DOC-332499
Second point is little bit complicated. In S32 Design Studio, startup file always initialize RAM to 0 and this behavior must be modified. Before RAM is set to 0, you must read RGM FES register and check, if F_FCCU_SOFT or F_FCCU_HARD bit is set (option for hard or soft can be set in FCCU_NCF_CFG register).
If the flag is set, you must skip RAM initialization and data in RAM will be retained.
Regards,
Martin
why no people answer the question,please help me