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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,655 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
1,398 次查看
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 项奖励
回复
1 回复
1,399 次查看
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 项奖励
回复