AnsweredAssumed Answered

Can someone provide some materials on S32's ECC Function?

Question asked by on Dec 24, 2018
Latest reply on May 9, 2019 by Catosh

In the startup_s32k148.S file, the following codes  do RAM ECC function. Can't understand it! Need help or guide! Thanks!



/* Init ECC RAM */

ldr r1, =__RAM_START
ldr r2, =__RAM_END

subs r2, r1
subs r2, #1
ble .LC5

movs r0, 0
movs r3, #4
str r0, [r1]
add r1, r1, r3
subs r2, 4
bge .LC4