I now do the MPC5644B flash driver and need to erase the flash sectors , in the RM , the flash memory size is 1.5M, but why I can only see and access 1M.
And the memory dump :
Can you tell me how to use the additional 0.5M on this board?
hope for your answer ,thank you.
I think you have answered yourself.
You have improperly configured MMU flash entry. Now it is needed to check why you have configured it so. It may be configured this way by
1) used startup code
2) used debugger scripts
Now I solve this question by set page size to 2M, but also I only need 1.5M and I don’t know if I can set it to 1.5M.
Could you kindly send me the document which has detailed information with MAS0-MAS4 every bit description of MPC5644B ?
I can only find the 64bit register description.
Thanks a lot.
1.5M cannot be set as number of settable values is limited. But you may set 2M, it is not problem anyhow, it should be set this way.
Regarding MMU description, you may look for instance here, page 90 and following:
Full description is contained in core reference manual, section 10:
Thanks for your help.
Retrieving data ...