What is the flash block size in MK60FX512 (and similar K60)? 512K or 256K?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the flash block size in MK60FX512 (and similar K60)? 512K or 256K?

Jump to solution
923 Views
dmitriyc
Contributor III

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".

pastedImage_4.png

The datasheet still seems to use the word "block" for two different things.

pastedImage_5.png.

Labels (1)
0 Kudos
1 Solution
666 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
667 Views
kerryzhou
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos