This is closely related to Flash block question on MK60FN1M0VLQ12?
I would like more clarification on this.
Specifically, If I run a block command in FTFE (eg. block erase check (FCCOB0:FCMD = 0x00), or block erase (FCCOB0:FCMD = 0x08)) does the command operate on 256K or the 512K "combined block"?
PEx tends to refer to the "combined blocks".
The datasheet still seems to use the word "block" for two different things.
.
Solved! Go to Solution.
Hi dmitryc,
Just like the link which you mention said, the block size of MK60FN1M0VLQ12 is 256KB, not the combined block 512KB.
So, the block erase does the operation on 256KB, the flash block in PE interface actually means combined block, it is really a little confusing.
Just take care:
• For devices with program flash only: 4 blocks(256KB each) of program flash consisting of 4 KB
sectors
• For devices that contain FlexNVM: 2 blocks (256KB each) of program flash consisting of 4 KB
sectors
• For devices that contain FlexNVM: 2 blocks (256KB each) of FlexNVM consisting of 4 KB sectors
• For devices that contain FlexNVM: 1 block (16KB)of FlexRAM
Actually, in our sample code : KINETIS_120MHZ_SC, it also defined the flash block size as 0x00040000, it is 256K.
Wish it helps you !
If you still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi dmitryc,
Just like the link which you mention said, the block size of MK60FN1M0VLQ12 is 256KB, not the combined block 512KB.
So, the block erase does the operation on 256KB, the flash block in PE interface actually means combined block, it is really a little confusing.
Just take care:
• For devices with program flash only: 4 blocks(256KB each) of program flash consisting of 4 KB
sectors
• For devices that contain FlexNVM: 2 blocks (256KB each) of program flash consisting of 4 KB
sectors
• For devices that contain FlexNVM: 2 blocks (256KB each) of FlexNVM consisting of 4 KB sectors
• For devices that contain FlexNVM: 1 block (16KB)of FlexRAM
Actually, in our sample code : KINETIS_120MHZ_SC, it also defined the flash block size as 0x00040000, it is 256K.
Wish it helps you !
If you still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------