Anyone know what preamble/prerequisites are needed to get a value from Fapi_calculateEcc?
I am trying it on an RM57L843.
I tried diff addrs(remapped or not makes no diff) + 64bit vals. All return the same ecc from 0xfff87060.
I tried Fapi_initializeFlashBanks as a preamble with the HCLK as param. That did not help.
I tried the diagnostic reg programming it to 0x50007. Also the unlock code of 0xaa55.
Nothing seems to unstick FEMUECC from not returning a stale value.
Don't suppose someone has a canned seq that works?
tnx
Hedley
@ This code is DL'd to sram. Before arriving here, full TI Safety check was run from Flash.
@ one slight mod to the TI Safety code is to allow code exec from RAM or... this test dies on
@ prefetch abort (as expected). start: ldr sp,=0x08080000 mov r0,#150 bl Fapi_initializeFlashBanks mov r0,#0x10 bl Fapi_remapMainAddress ldr r2,=0xeafffffe ldr r3,=0xea0022a9 bl Fapi_calculateEcc spin: b spin