This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi All,
We tried many time to erase memory of TMS570lc4357 but every attempt we encountered some silly bytes in our memory. Where is the problem ?
Furkan
Best Regards,
Hi Furkan,
This is expected behavior only.
The root cause for this behavior is that the SECDED (Single-bit Error Correction and Double-bit Error Detection) module in this device will be in enabled state by default.
When you erase the flash, the corresponding ECC space is also erased to 0xFFFFFFFF, and which is not a valid ECC value for flash content=0xFFFFFFFF. As the SECDED module is enabled by default, so the ECC logic will try to correct the 1-bit errors. That is the reason some of the bits will not be 1's after erase. However, that won't affect the programming, when you write a valid data later int he memory the correct ECC value again will get calculated and gets write into the ECC. Then we don't see this issue.
For more details, you can also have a look in the below thread:
--
Thanks