Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

AURIX™ Forum Discussions

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
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

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
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

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 @dw 

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
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received
0 Likes
yrun431
Level 2
Level 2
10 replies posted 10 sign-ins 5 replies posted

Hi

ZBABRECORD0 is 80070800

0 Likes
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

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
This widget could not be displayed.