C55FMC flash read error

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

C55FMC flash read error

758 Views
yuriy_serdyuk
Contributor III

Hello,

Board MPC5748G

I have problem with flash memory, i use this code, it's just read counter and write to flash memory every restart board.

pastedImage_1.png

But this code works only three time, after three time i can't read value from address 0xfb8000. Could you help me?

Tags (1)
0 Kudos
2 Replies

665 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

it is not allowed to program a double word which is not fully erased. This over-programming leads to ECC errors:

pastedImage_1.png

If you want to program the same double word again, whole block must be erased.

Regards,

Lukas

0 Kudos

665 Views
yuriy_serdyuk
Contributor III

Hi Lukas,

With erase it works.

Thank you

0 Kudos