PE support for FlexMemory for Enhanced EEPROM

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

PE support for FlexMemory for Enhanced EEPROM

跳至解决方案
2,269 次查看
MarkP_
Contributor V

Hi,

is there any support/driver for Enhanged Eeprom functionality?

Ref. doc: Document Number: AN4282, Using the Kinetis Family Enhanced EEPROM Functionality.

Cannot find any PE-component for that.

Found only flexnvm_demo.c, but the API like PE's I2C2.h would be better/easier to use.

BR,

Mark

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,136 次查看
ProcessorExpert
Senior Contributor III

Hello,

you can use FLASH_LDD component to work with enhanced EEPROM area. The component is available within CW V10.x, I will also recommend to additionaly download the Update V1.0.1.

After that you would need to set the CPU component and use addtional command to enable Enhanced eeprom functionality, however unfortunatelly this command is not currenlty supported by PE (for more details please attached screen-shots).

best regards
Vojtech Filip
Processor Expert Support Team

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,137 次查看
ProcessorExpert
Senior Contributor III

Hello,

you can use FLASH_LDD component to work with enhanced EEPROM area. The component is available within CW V10.x, I will also recommend to additionaly download the Update V1.0.1.

After that you would need to set the CPU component and use addtional command to enable Enhanced eeprom functionality, however unfortunatelly this command is not currenlty supported by PE (for more details please attached screen-shots).

best regards
Vojtech Filip
Processor Expert Support Team

0 项奖励
回复
1,136 次查看
Tommy_Liu
Contributor II

Dear Vojtech,

  I can't see your screen-shots. could you post them again. thanks  a lot!

0 项奖励
回复
1,136 次查看
Petr_H
NXP Employee
NXP Employee

Hi,

Flex memory use is discussed in this thread:

Re: EEPROM use with processor expert and K20

You can find there information how to configure the Processor Expert components.

I recommend to use the latest CodeWarrior 10.3.

best regards

Petr Hradsky

Processor Expert Support Team

0 项奖励
回复
1,136 次查看
Tommy_Liu
Contributor II

Dear Petr,

"Please do not miss to check "3.3.1 EEE writes"/"3.3.2 EEE reads"

sections in the AN4284 for details on flag checking during

writes/reads." as guide

So I added

while(!(FTFL_FCNFG & FTFL_FCNFG_EEERDY_MASK));

but the programmer is hang at this line. Whether this checking is need?!

0 项奖励
回复