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.

What are the differences between the two?

I'm reading "Safety Manual for TMS570LS31x and TMS570LS21x Hercules™ ARM®-Based Safety Critical Microcontrollers(SPNU511D)".

I can't understand differences between the two safety mechanism.

"FLA3:Flash Wrapper Address ECC" and "FEE7:Flash Wrapper Address ECC".

What I want to know most is which ESM flags are set when each safety function detects an error.

Best Regards.

  • Hello Arriy,

    They are the same mechanism but are for different flash areas on the device with different usages. As you are aware, flash is for program execution and storage. FEE is for Flash emulated EEPROM or, i.e., data flash acting as and used in place of EEPROM. The ECC for each has different reporting paths as they are on different buses.

    For Flash is is Group 1, channel 6 (correctable errors - potentially FLA1 if application needs notification of corrected errors) and Group 3, channel 7 (uncorrectable errors - FLA1 and FLA3). In addition, Group 2, channel 4 (address bus parity errors - FLA4).

    For the EEPROM emulation bank (FEE) we have Group 1, Channel 35 for correctable errors and Group 1, channel 36 for uncorrectable errors including address ECC errors.

  • Hello Chuck,

    Thank you for your reply.
    I understood the difference by between flash and FEEPROM.


    But,I'm sorry.I confused about ESM error flag.
    Error flag is important because I want to monitor errors with ESM error flags.

    Please tell me whether correct it is the recognition below.And please correct it if it is wrong.

    < Flash >
    - FLA1:Group 1, Channel 6 (correctable errors) , Group 3, channel 7 (uncorrectable errors)

    - FLA3:Group 1, Channel 6 (correctable errors) , Group 3, channel 7 (uncorrectable errors) , Group 2, channel 4 (address bus parity errors)

    - FLA4:Group:2 Channel:10(B0TCM address bus parity errors) , Group:2 Channel:12(B1TCM address bus parity errors)


    < EEPROM >
    - FEE1:Group:1 Channel:35(correctable error) , Group:1 Channel:36(uncorrectable error)

    - FEE7:Group:1 Channel:35(correctable error) , Group:1 Channel:36(uncorrectable error)

  • Corrections/comments within the quoted text:

    Arriy said:

    < Flash >
    - FLA1:Group 1, Channel 6 (correctable errors) , Group 3, channel 7 (uncorrectable errors) CORRECT

    - FLA3:Group 1, Channel 6 (correctable errors) , Group 3, channel 7 (uncorrectable errors) , Group 2, channel 4 (address bus parity errors) NO GROUP2 CHANNEL 4 - ADDRESS PARITY ERRORS.

    - FLA4:Group:2 Channel:10(B0TCM address bus parity errors) , Group:2 Channel:12(B1TCM address bus parity errors)  GROUP 2 CHANNEL 4 ONLY (FMC - address bus parity errors) - BxTCM errors are only for SRAM.


    < EEPROM >
    - FEE1:Group:1 Channel:35(correctable error) , Group:1 Channel:36(uncorrectable error) CORRECT

    - FEE7:Group:1 Channel:35(correctable error) , Group:1 Channel:36(uncorrectable error) CORRECT

  • Hello Chuck.

    Thankful you for your reply and correction.

    The same ESM error flag will be notified from a different safety function.

    Does that mean it is monitoring the same error with multiple different safety functions ?

    Why is that?

    Best Regards

  • Hello Arriy,

    The ESM flags for the FMC (Flash wrapper) ECC mechanism are common between the faults in the Flash Data or the address since the address is included in the ECC calculation. This is why they use the same ESM flags.

    I don't think it is correct to say that they are the same fault type; however, the detection logic is common between them. Since the logic cannot differentiate one fault type from the other, the same ESM flag is used to notify the system/application of a fault. As always, what you do with the fault notification is system and application dependent since the impact of a specific fault on the system/application is not known to us at the device level. In almost all cases, correctable errors are not an issue because they are corrected but uncorrectable errors may require some action such as system reset or some level of error diagnosis to determine if it is safe for the system to continue.

    Also, I know that this is really just a language barrier, but the use of safety function is generally for the task that is performed that needs to be safe. i.e., detection of over voltage or over temperature. In your use of the term, I believe you are referring to the diagnostic measure which is the task within the system to check to make sure that the information or HW used to perform the safety function is in good working order and; therefore, the safety function is protected/assured.
  • Hello Chuck.

    I questioned at Feb 2,2017.


    I want to confirm.
    Below your answer is "Group 1, Channel 6 (correctable errors) , Group 3, channel 7 (uncorrectable errors)" error report to ESM by "FLA3" ?

    < Flash >

    - FLA3:Group 1, Channel 6 (correctable errors) , Group 3, channel 7 (uncorrectable errors) , Group 2, channel 4 (address bus parity errors) NO GROUP2 CHANNEL 4 - ADDRESS PARITY ERRORS.

     

    Best Regards.

  • Hello Arriy,

    As I see this again, I need to make a correction. Since FLA3 is specific to the Flash Wrapper Address ECC Error, it will only be associated with the ESM Group 3 channel 7 since any error that decodes to an error in the address will always be indicated as an uncorrectable error regardless if it is a single bit or more fault.

    The G2 Ch4 Address Parity Errors map to FLA4 not FLA3.
  • Hello Chuck.

    Thank you for your answer.

    I had a question is cleared.

    Best Regards