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.

TMS570LS1114: the problem of Flash Diagnose

Part Number: TMS570LS1114

1. In the code provided by the diagnostic library, the Flash diagnostic code cannot be placed in the Flash address and the address specified by Sram. However, in the diagnostic library code, when module type 1114 (12X series), the code placed in Sram is shielded. Is this code wrong?

2. When the module is working for about 20 hours, there will be Flash 1 bit ECC error, and it is on different address, may I ask what is the possible cause?

Each time a fault occurs, the address is different. What is the possible cause of this phenomenon?

The address of the fault:

0x0003 76E8h 

0x0003 7168h  

0x0003 54F0h   

0x0003 35C8h    

0x0003 2210h   

0x0003 2018h  

0x0002 F618h  

0x0002 EBC0h    

0x0002 2FB0h  

0x0001 3A60h  

0x0001 27D8h  

  • Hi Xiaohong,

    For LS12x or LS11x, the diagnostic function can be execute out of flash, so you don't have to copy the code to SRAM.

    What is the possible cause of this phenomenon?

    Which diag test did you performed?  FLASH_ECC_TEST_MODE_1BIT, or  FLASH_ECC_TEST_MODE_2BIT, or FLASH_ADDRESS_ECC_SELF_TEST, etc

  • These three types of diagnostics are called periodically, and I think it has little to do with the interface of these diagnostics, because the captured fault address is different from the self-check address

  •  When the module is working for about 20 hours, there will be Flash 1 bit ECC error, and it is on different address, may I ask what is the possible cause?

    I am not very clear about your question. Do you get 1-bit ECC error in normal flash operation? or you get 1-bit ECC error i your periodic flash self-test? 

    For flash self-test, the 1-bit or 2-bit ECC error is injected intentionally to check the ECC logic and event signaling path to ESM.

  • I called the SL_SelfTest_Flash () interface,diagnosis types are as follows:FLASH_ECC_TEST_MODE_1BIT,  FLASH_ECC_TEST_MODE_2BIT,  FLASH_ADDRESS_ECC_ADDR_ECC,these Test is ok.

    but  I get 1-bit ECC error in normal flash operation at different flash address.

  • It is strange. If you don't call SL_SelfTest_Flash(), will you get the ECC error at those flash addresses?

    After flash ECC self-test, do you restore the flash registers (Diag control register, Parity override register, and Status registers), and ESM status registers to their original values?