how Ecc works in S32k31x?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how Ecc works in S32k31x?

513件の閲覧回数
hagoo
Contributor I

hi, 

i want to know about Ecc.

In reference manual, 

The ECC is calculated over the sum of memory data and memory location address. However only data is written in the memory along with the ECC(address is excluded).

hagoo_0-1679914829818.png

Is that mean, if memory = 3, and address = 0x00000001

1. write interface

- write 3(data) in 0x00000001(address)

- compute Ecc_1 ( data + address = 0x00000004)

2. Read interface

- recompute Ecc_2 ( Read data + address of Read data = 0x00000004)

- compare Ecc_1 and Ecc_2

- if (Ecc_1 != Ecc_2)

  Then Ecc Error occured!

 

I understand like this, it is right?

 

0 件の賞賛
返信
1 返信

495件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

It is more complex. ECC is calculated generated from the polynomial, it is not simple sum.

During checking it is not needed to recalculate and compare as according polynomial it can be checked directly.

But it is unimportant for users, so it is not openly documented.

0 件の賞賛
返信