Hello,
I have question regarding the MPC5741P microcontroller flash memory layout.
In the RM ( MPC5744P Reference Manual, Rev. 6, 06/2016 ):
Only the block marked with 1 is reserved on the MP5741P which means according to the table that it has more than 1M of flash memory.
What is the exact setup of flash memory blocks on MP5741P microcontroller ?
Thanks in advance,
Best Regards,
Ahmed
Lukas, any updates ?
Hi Ahmed,
I just talked with apps engineer for this device. He confirmed that there's a typo in the table. It will be corrected in next revisions of the reference manual. You can use the flash up to 0x0107_FFFF. Sorry for inconvenience.
Regards,
Lukas
Hi,
the foot note wording is a little bit confusing. It should be something like "this and all further blocks reserved on MPC5741P", not just "Reserved on MPC5741P".
So, you can use all the flash up to 0x010B_FFFF on MPC5741P.
Regards,
Lukas
Hi,
Up to 0x010F_FFFF is 4x256KB blocks which is 1MB.
Up to 0x10B_FFFF is 3x256KB blocks which is 768KB.
Did you mean we can use up to 0x010F_FFFF or 0x010B_FFFF or in other words can we use the 256 KB flash
memory block 3 (boot location 7) or not on MPC5741P ?
Appreciate your support,
Regards,
Ahmad
There's also data flash, small blocks and medium blocks which gives 256kB in total. Then add three 256KB large blocks and you will get 1MB. So, my previous answer is correct - use the flash up to 0x010B_FFFF.
Lukas
Thank you very much.
Hi Again,
I am sorry I was confused.
If we sum up the data, small, medium, and large blocks up to 0x010B_FFFF it will be 1280KB.
If we sum do the same up to 0x0107_FFFF it will be exactly 1024KB.
So, can we use the block from 0x0108_0000 to 0x010BFFFF or not ?
Thanks,
Regards,
Ahmed
Aah, ok, my mistake. I was sure that the other blocks gives 256KB but there's 512KB. Let me check this with apps engineer. I will let you know the result later.
Lukas