Other Parts Discussed in Thread: NOWECC
Tool/software: TI C/C++ Compiler
Hello,
I've been attempting to compile a TMS470 based project with ECC protection but each time I enable detection and correction through the Flash Error Detection and Correction Control Register 1 (FEDACCTRL1 - 0xFFF87008) the processor falls into an NMI ISR routine and reboots.
When the program enables EDAC the processor falls into that interrupt and reports the error is at the address of the function call, the one which enable protection and then after falling into NMI the error address changes to that of the NMI function
We have been compiling the program using CCS 8.3.0.00009. We have subsequently tried compiling and programming with an older version of CCS 6.1.0.00104 and the program generated doesn't have the same issue and runs happily with EDAC protection enabled.
As the source code used in both instances have been the same and we have not enabled anything special in the project settings we have determined this must be a compiler issue but what exactly we are unsure of, miss-alignment or incorrectly generated ECC bytes or something else
Thanks,
Jonathan