Tool/software:
Hi, I'm trying to use SDL in TMS570LC4357-EP.
Using SL_SelfTest_Flash with FLASH_ECC_TEST_MODE_1BIT is causing data abort.
Data fault status is 0x00001008. I looked up documentation and it seems to be precise external abort with SLVERR/DECERR bit set(although it seems to be invalid in this abort).
Data fault address is 0xFFFF0E20. Address range is EPC register, although it is out of valid range.
It is right out of CAM Index registers, which is 0xFFFF0E00 to 0xFFFF0E1F.
It seems SL_SelfTest_Flash accesses CAM Index registers. Maybe something is going on?
Also it causes data fault when board is powered on(power on, wait some time and attach debugger to find out data abort) but if I do CPU reset via debugger then and re run the program, it finishes without abort, although the test result is failure.
My compiler is IAR EWARM 7.40.6, LDRA version is 2.4.0. Debugger is XDS110. How could I fix this?
Thanks for help!