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.

TMS570LS0714: Data flash

Part Number: TMS570LS0714

Hi

Recently, Our customer found a problem of one of their EDS suppliers, which is  the data flash of MCU was written/erased every 10 ms after MCU power on, and then internal data flash was failed shortly afterwards.

Finally, the whole system cannot work cause of the failure of data flash.

Geely ask us to check if there is the same problem.  

I have several questions below:

  1. What kind of failure mode might happen when data flash was failed? Is there any fault flag to show this faulre?
  2. Can MCU still operate normally after data flash fail?
  3. What reasons might cause data flash being writing/erasing again and again within very short time?Thanks!
  • Hello,

    1. If there is ECC error in EEPROM (data flash), the ESM 1:36 or ESM 1:37 will be set. 

    2. The MCU core may work well even if the data flash fails. If data flash is accessed in your code, the ESM flags will be set.

    3. Normally the EEPROM has 2 virtual sectors. When you write data to EEPROM, the FEE driver checks status of virtual sectors. If the active virtual (lets say virtual sector #1) sector doesn't have enough space for your new data, it will erase other sector (virtual sector #2), copy all the valid data blocks in virtual sector #1 to virtual sector #2, and program your new data to virtual sector #2.

    If the total size of all your data block (data + header) is bigger than the virtual sector size, the FEE driver will keep looking for a space for your new data, since their is no enough space left, FEE driver will keep erasing virtual sector and copying data from 1 virtual sector to other.

    Please double check the FEE configuration and block configuration to make sure that total block size is smaller than virtual sector size.