What's all-0 and all-1 error of Flash in Aurix?

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

cross mob
Jamber
Level 3
Level 3
25 replies posted 50 sign-ins First like received

Hi,

In TC3xx usermanual, it's said that all-0 and all-1 will be read with ECC errors. Does it mean a const array with 8 bytes consecutive 0xFF can't be read witout ECC error?

All-0,1 Error.png

Best regards

Jamber

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

Hi Jamber,

After erased Flash, you will get all-0, as a side effect, read will be with ECC errors.

If normal program Flash with all-1, it should be no ECC error.

 

dw

 

View solution in original post

0 Likes
3 Replies
ugo_8a
Employee
Employee
10 solutions authored 25 sign-ins 25 replies posted

No,  the trick is in the word "over-programming" this means that if you have some data , and you over-program it with all-1's without erasing it first, this would cause an ECC error. 

 

0 Likes
Jamber
Level 3
Level 3
25 replies posted 50 sign-ins First like received

Hi, ugo_8a

Thank you, could you tell me what all-0 is?

And as usermanual said, by reading erased or over-programmed area causing ECC error is just an "side effect", so if reading a const array with 8 bytes consecutive 0xFF is not all-1 case, what's the really case of all-1, and all-0?

All-0,1 Error.png

Best regards

Jamber

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

Hi Jamber,

After erased Flash, you will get all-0, as a side effect, read will be with ECC errors.

If normal program Flash with all-1, it should be no ECC error.

 

dw

 

0 Likes