AnsweredAssumed Answered

Flash programe in MPC5744

Question asked by Naiching Wang on May 23, 2017
Latest reply on May 26, 2017 by Lukas Zadrapa

Dear all,

I want to programe in small flash memory block2 in MPC5744.

I reference manul, but it doesn't work.

The follow is my test code.

 

C55FMC.MCR.B.PGM = 1;
*(unsigned int *)(0x00F98000) = 0;
*(unsigned int *)(0x00F98004) = 0x1234;
C55FMC.MCR.B.EHV = 1;
while(C55FMC.MCR.B.DONE!=1);
C55FMC.MCR.B.EHV = 0;
C55FMC.MCR.B.PGM = 0;

 

Best Regards.

Outcomes