AnsweredAssumed Answered

DFlash writing MPC560D40

Question asked by Liviu C on Oct 4, 2016
Latest reply on Oct 12, 2016 by Lukas Zadrapa



How is it possible to  write 64 bit in the DFLASH with one High Voltage operation?

I try like this:

   PGM = 1

   (0x00800000) = 0x1122334455667788;

   EHV = 1


   wait for DONE

   EHV = 0

   PGM = 0


The result is:

0x00800000 = 0xFFFFFFFF;

0x00800004 = 0x11223344;


What am I doing wrong?


I know that on the 5604 the writing was possible and since it is the same architecture it should be pretty straight forward. Also, the datasheet specifies it is possible (check attachment).


Thank you for your support.