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,650件の閲覧回数
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,393件の閲覧回数
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,394件の閲覧回数
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 件の賞賛
返信