cancel
Showing results for 
Search instead for 
Did you mean: 

SPC56EL60L5CBF ECC Error

dariusz
Associate II
Posted on July 10, 2015 at 11:24

Hi,

Recently we received few returns from customer with ECU entering Error Mode. The only information we have for now is values of registers in time of exeption:

00000020 - ESR        - VLEMI (VLE Mode Instruction)

00088008 - MCSR    - MAV, LD, BUS_DRERR

000E4A80 - PC         - (program counter indicating flash sector read function)

Further investigation of SW showed that this occured because EER bit in MCR (Module Configuration Register of flash memory block C90FL) was set. Is this bit set only after detecting 2bit ECC error? Are 1bit errors fixed automatically or it's the task of SW? What about 3 and more bit errors? What could cause ECC errors?

Is there any detailed documentation regarding ECC handling in this microcontroller? Something like ''AN4276 ECC management on SPC560x''.

Best regards
4 REPLIES 4
Erwan YVIN
ST Employee
Posted on July 10, 2015 at 15:31

Hello Dariusz ,

I am checking with the experts (Flash)

  Best Regards

             Erwan

Erwan YVIN
ST Employee
Posted on July 13, 2015 at 17:11

Hello Dariusz ,

Yes , this bit is set after after detecting 2 bits error.

1 bit error is automatically fixed by HW.

What about 3 and more bit errors? ERR should be set too.

ECC could be due to an ''old''. Flash Erasing is necessary.

I am checking if some others documents are available.

  Best regards

             Erwan

dariusz
Associate II
Posted on July 15, 2015 at 08:33

Hello,

The problem is that ECUs are new. Issue occured somewhere between ECU leaving production line where microcontroller is mounted onto PCB and our client testing newly assembled car. Are some tests possible from ST side that could identify root cause? Would these tests (if possible) be destructive or nondestructive?

Thank you for your help.

Best regards.

Erwan YVIN
ST Employee
Posted on July 15, 2015 at 15:07

Hello Darius ,

flash sector read function is reading DFLASH ?

if yes , the SW should take appropriate Data flash ECC error action. (Most probably report this error and continue in system operations).

I am checking with Flash experts.

   Best Regards

                   Erwan