flexram to eep

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
718件の閲覧回数
胜利何
Contributor I

I want to use flexram to eep!

MY CPU IS MK60FX512VLQ15,

1,what is D-FLAS 0 IFR abs address ?  CAN I read it from IAR debug?

2,How many bytes about 1 Flash Block,1  Flash Section,where to set it?

3,when I earse one  Flash Section ,how many byte I earsed ? earsing  start address is setted by FTFE_FCCOB1,FTFE_FCCOB2,FTFE_FCCOB3?

ラベル(1)
0 件の賞賛
1 解決策
540件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi 何胜利,

Please kindly refer to the following answer for your question:

1,what is D-FLAS 0 IFR abs address ?  CAN I read it from IAR debug?

-D-FLAS 0 IFR can only be accessed by Read Resource Command, please refer to the following for details.

1.png

2,How many bytes about 1 Flash Block,1  Flash Section,where to set it?

-Do you mean flash section instead of flash section? Actually the size of flash block and sector are determined by device, no register can be used to configure them on the fly. Please kindly refer to Chapter 3 Chip Configuration in RM for details. You may find something like below:

1.png

3,when I earse one  Flash Section ,how many byte I earsed ? earsing  start address is setted by FTFE_FCCOB1,FTFE_FCCOB2,FTFE_FCCOB3?

-Do you mean erasing Flash sector command? Then the bytes to be erased is size of a sector, for example, 4KB. and yes, earsing  start address is setted by FTFE_FCCOB1,FTFE_FCCOB2,FTFE_FCCOB3. Please refer to the following for more details.

1.png


Hope that helps,

Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
1 返信
541件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi 何胜利,

Please kindly refer to the following answer for your question:

1,what is D-FLAS 0 IFR abs address ?  CAN I read it from IAR debug?

-D-FLAS 0 IFR can only be accessed by Read Resource Command, please refer to the following for details.

1.png

2,How many bytes about 1 Flash Block,1  Flash Section,where to set it?

-Do you mean flash section instead of flash section? Actually the size of flash block and sector are determined by device, no register can be used to configure them on the fly. Please kindly refer to Chapter 3 Chip Configuration in RM for details. You may find something like below:

1.png

3,when I earse one  Flash Section ,how many byte I earsed ? earsing  start address is setted by FTFE_FCCOB1,FTFE_FCCOB2,FTFE_FCCOB3?

-Do you mean erasing Flash sector command? Then the bytes to be erased is size of a sector, for example, 4KB. and yes, earsing  start address is setted by FTFE_FCCOB1,FTFE_FCCOB2,FTFE_FCCOB3. Please refer to the following for more details.

1.png


Hope that helps,

Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛