56F84xx put data flash IFR on programming

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

56F84xx put data flash IFR on programming

跳至解决方案
1,865 次查看
agostinofacotti
Contributor III

Hi,

I'm trying to use the flash NVM on a MC56F84452 both for data storage and EEPROM data.

Since I program some data on the data flash the problem is: when application starts it found the EEPROM not partitioned and then clears all the NVM block (which in turns clears my data ).

Eventually is there a way to prepare the data flash IFR filed with the linker command file or some other methods? The scope wuold be not to cause FlexNVM wiping at EEPROM partitioning.

Thanks for your help,

regards

agostino

标签 (1)
0 项奖励
回复
1 解答
1,583 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, agostino,

I am sorry for not attaching the code in the last post, not I attach it.

Hope it can help you

BR

xiangjun rong

在原帖中查看解决方案

4 回复数
1,583 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, agostino

I attach the code for flash ersaing/programming and EEPROM partition for MC56F84789, hope it can help you

BR

Xiangjun rong

0 项奖励
回复
1,583 次查看
agostinofacotti
Contributor III

Hi Xiangjun rong,

thanks for the answer but I can't find your attachment...

agostino

0 项奖励
回复
1,584 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, agostino,

I am sorry for not attaching the code in the last post, not I attach it.

Hope it can help you

BR

xiangjun rong

1,583 次查看
agostinofacotti
Contributor III

Hi,

thanks for the example: it gives us some ideas on how to reach the goal!

Your example partitions the data flash at startup (if enabled, right :-) ) but we were looking for a "pre-partitioned" data flash that can be downloaded to the memory during programming time (with elf or s-record to be clear): this way the very first time the CPU is powered up it recognizes the partition code already stored during the downloading phase and then the program partition command will not be necessary.

I know it seems a forcing against the normal operations flow described in the FlexNVM user manual: at now the only one solution found is to download the data on data flash after having it partitioned by the code as you've shown in your example.

Anyway thanks for the support,

regards

agostino

0 项奖励
回复