I want to allocate a portion of SRAM to be used for sharing the information during the write operation between the APP and the boot. When it is a POR reset, this SRAM needs to be initialized with ECC. When it is a soft reset, the data in this memory is retained and no initialization is performed.
link config:

C:

There is a minor mistake here. The address and the link to the file are incorrect. However, this issue should not have any impact.
The re-powering method here has reported an error. By connecting the Lauterbach debugger, the information shown is as follows:

Error register display:

How should I initialize this RAM ECC? If an assembly language implementation is required, could you please provide me with the relevant code? Thank you!
MPC574xP