Part Number: TMS320F280039C
Other Parts Discussed in Thread: UNIFLASH
Hi Team,
1. The FLASH_ECC routine of STL uses the TEST mode of FLASH_ECC as a demonstration. In the customer's APP program, is it necessary to use the TEST mode during power-on self-test?
If not needed, can FLASH_ECC detection be enabled only by enabling FLASH_ECC and the corresponding interrupt?

2. In the FLASH_ECC routine of STL, the ECC value corresponding to the FLASH address and the corresponding data is calculated, which is used for the ECC test in TEST mode.
Does the customer need to calculate the corresponding ECC in their APP?
If yes, how to program it?

Is this ECC check code automatically calculated at compile time and written into the corresponding ECC_FLASH address?

3. (based on question2)
In chapter 6.9 of TRM, the part circled in red in Figure 6-3.
Is this ECC code generated by the APP itself?
Or is it generated by the compiler after compilation?
Is it stored in the address circled in red in Figure 2 of Question 2?

--
Thanks & Regards
Yale