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,097 次查看
锋方
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 回复

961 次查看
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 项奖励
回复