Other Parts Discussed in Thread: UNIFLASH
Hi,
We are using the F021 flash library to program or erase the TMS570LC4357 controller.
However, when we erase a flash location, we don't see all locations have 0xFF's and instead we see 0xFFF7FFFF or some other bits in the erase flash locations are zeros.
We understand that it could be due to the flash ECC issue but not sure which function to call for enabling ECC or autogenerate ECC when erasing flash using the F021 library.
Also, we load images using the UNIFLASH tool with the auto ECC enabled option and could see all the flash regions erase by the UNIFLASH tool have FFs, but when erase using the F021 library it is not the case.
Note: Flas API functions used: fapi_issue_async_cmd_with_addres() funciton with FAPI_ERASE_SECTOR command
Please let me know if we are missing anything.