Other Parts Discussed in Thread: C2000WARE
I am trying to test the Flash ECC Logic using the Self Test Libraries. I followed the example from the diagnostics folder in C2000Ware_1_00_01_00. The main difference in my project from the example project is that I am loading from Flash and I have converted it to EABI format.
I have made sure to run Fapi_initializeAPI() before running any other function.
When running Fapi_calculateEcc() the returned ECC value is 0 and the test fails. If I run the example project and call Fapi_calculateEcc() with the exact same parameters the returned ECC value is 160. I can hardcode 160 in my project and the test will pass.
Is there any other steps I need to follow before calling Fapi_calculateEcc() when loading from Flash instead of RAM? Or when the format is EABI instead of COFF?
Thanks!
Brycin Silvester