Question about 5744P memory ECC check code storage location

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about 5744P memory ECC check code storage location

Jump to solution
1,651 Views
建浩章
Contributor I

Recently I am looking at the 5744P memory ECC module. I have a question about whether ECC checkBit takes up normal memory space. Because I read from the datasheet that the ECC checksum is stored in memory, but I don't know if this memory refers to special memory or normal memory (384KB RAM or 2.5M Flash). I hope someone will help me answer it, thank you very much.

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,516 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I do not understand your question but as I wrote, "it's checked anytime when you read data or fetch an instruction from flash or from RAM". There's always ECC, it doesn't matter if memory cell is accessed by CPU or other bus masters. If corrupted data are access by CPU, Machine Check IVOR1 exception is triggered.

Regards,

Lukas

View solution in original post

0 Kudos
Reply
6 Replies
1,516 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the ECC bits are hidden for users. Each double word (64bit) has additional hidden bits for ECC. It does not decrease size of the flash which can be used, of course.

Regards,

Lukas

0 Kudos
Reply
1,516 Views
建浩章
Contributor I

        Thank you for your reply. What you mean by your reply is that the ECC check digit is placed in a place that is not open to the user. I have another problem. The contents of Flash are generally brushed in by the programmer. When the program and data are flashed into the 5744P flash through the programmer, will the CPU perform ECC verification?

0 Kudos
Reply
1,516 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

ECC can't be turned off, it's checked anytime when you read data or fetch an instruction from flash or from RAM.

Regards,

Lukas

0 Kudos
Reply
1,516 Views
建浩章
Contributor I

Hi,

Thank you very much for your reply. I still have some doubts. When I use the programmer to brush into the program, there should be no CPU participation at this time. Is there no corresponding ECC check code stored in the special memory? If there is no corresponding ECC check code stored in special memory, then when the program runs, when the CPU captures the instructions in the PFlash, how to do ECC check?

0 Kudos
Reply
1,517 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I do not understand your question but as I wrote, "it's checked anytime when you read data or fetch an instruction from flash or from RAM". There's always ECC, it doesn't matter if memory cell is accessed by CPU or other bus masters. If corrupted data are access by CPU, Machine Check IVOR1 exception is triggered.

Regards,

Lukas

0 Kudos
Reply
1,516 Views
建浩章
Contributor I

Thank you very much for your help. Let me understand some concepts about ECC.

0 Kudos
Reply