Part Number: RM44L920
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hi ,
My FW is composed by a bootloader FW and a APP FW. I want to use Flash/RAM ECC feature in APP FW, and I enabled Flash/ RAM ECC with demo code generated by HalCoGen:
Enable Flash ECC:
flashWREG->FEDACCTRL1 = 0x000A060AU;
_coreEnableFlashEcc_();
Enable RAM ECC:
memoryInit(0x1U);
_coreEnableRamEcc_();
At the same time Flash API function is integrated in APP FW, I performed CopyApi2Ram() function at the beginning of main() in APP FW.
And now, my question is if I enable Flash ECC and RAM ECC at startup routine void _c_int00(void) of APP FW , my code always stucked in 0x10 (data aborted function) when steped into CopyApi2Ram().
I wonder if Flash/Ram ECC is initialized appropriatly? What is the reason Flash / RAM are uncorret?
Many thanks,
Catherine