AnsweredAssumed Answered

MC9S12 PFLASH problem

Question asked by 赵子成 on Jul 25, 2018
Latest reply on Jul 27, 2018 by Radek Sestak

Hi Everyone,

 

Now when I do the updated firmware function in MC9S12 CPU I encountered a problem.

I receive the firmware data from CAN port and write the data to P-FLASH.

When writing to the address of 0x7F7FE6, first I write:

65 6D FF FF FF FF FF FF

Then write the same address:

FF FF FF FF FF FF 66 49

And I read back the data from 0x7F7FE6, I found the data read back are not equal to the data I write to it before.

I read back the data:

65 6D FF FF FF FF 66 4D

It should be 65 6D FF FF FF FF 66 49

Can anyone give me some suggest? Thank you.

Outcomes