Zero bit ECC error at startup

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
yrun431
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi, I am using Tc37x

 

Before the start of running the code, ZBAB is already full which also makes MBAB full.

What is the reason for this and how to deal with it? 

 

[ And why do we need ALM7[28], if there are already enough alarms to check single/double bit errors?]

Thanks

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

In 6.3.3.1 PFLASH ECC of user manual, you can read: As side effect of the all-0 error detection an erased Flash range can't be read without ECC errors.

You can clear ZBAB and alarm using ZBABCLR bit field.

ZBABCLR 01B Clear local PFlash bank ZBAB record registers and the ZBAB alarm

 

View solution in original post

0 Likes
5 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi yrun,

SMU(Safety Management Unit) SMU_AGi(i=0-11) has 12 WORDs for alarms, each WORD has 32bits.

For PFlash ECC, there are Single bit/Double bit Error and Single/Double/Multi/Zero bit Error Tracking Buffer Full

Besides, there are ECC Monitor and EDC Monitor as well. Have you tried to erase the PFLASH bank and check if the error popup again?

Below is for your reference.

 

 

 

 

dw_0-1644801295017.png

 

0 Likes
yrun431
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi @Di_W 

I cleared the pflash bank right after startup, but again after some time the ZBAB is full.

Can we somehow debug what the problem is

 

Thank YOu

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored
0 Likes
yrun431
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi

ZBABRECORD0 is 80070800

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

In 6.3.3.1 PFLASH ECC of user manual, you can read: As side effect of the all-0 error detection an erased Flash range can't be read without ECC errors.

You can clear ZBAB and alarm using ZBABCLR bit field.

ZBABCLR 01B Clear local PFlash bank ZBAB record registers and the ZBAB alarm

 

0 Likes