Hello,
I'm building code that will load the operational program into the internal flash for the TMS570LS20126 processor and I need also to program the ECC. The Fapi_HardwareCalculateECC() function from the Flash API is marked as unreliable in spnz185 Errata document. However in spnu493c document, table 5, this function is said to be corrected in API version 1.05.
1. Was the problem discussed in spnz185 corrected in API version 1.05?
2. As far as I understand from spnu493c for Fapi_HardwareCalculateECC() function description, the 16 bit RAM buffer passed to it to get the ECC codes, can be passed to Flash_Prog_B() function as a 32 bit array. Is that correct? In the post I found on E2E, the engineer said that those 16 bit values need to be copied 4 times into another buffer, which will be used for programming. If so, this is not clear to me why and how. The spnu493c quotes: "The user must provide a data buffer in which the newly calculated ECC bits will be stored. This data can then be programmed in Flash using the usual programming method." Am I not understanding the API manual? Here is the link for the post: http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/139086.aspx?pi24527=1
Thanks,
Alex