MC56F8323   how to write data on data flash before  main function run。

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MC56F8323   how to write data on data flash before  main function run。

1,089件の閲覧回数
锋方
Contributor I

I want to write some data on the addrress of data flash 0x1000-0x1FFF,before main。

how can I do?

 

 

Thanks for your help。

ラベル(1)
0 件の賞賛
返信
1 返信

953件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Hi

Are these data constant? If yes, just define the data as constants in your application code, and place the constants in data flash by link command file.  Indeed, you do not need to modify the link command file manually, just select the build target with ‘xROM’ in its name.

If the data are not constant, you can write the data flash after the hardware initialization at the beginning of main function.

For how to write the flash, please refer to the reference manual:

http://cache.nxp.com/files/dsp/doc/user_guide/MC56F8300UM.pdf 

And you can add Processor Experts’s IntFlash Component into the project to implement flash operation. 

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信