PE support for FlexMemory for Enhanced EEPROM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PE support for FlexMemory for Enhanced EEPROM

Jump to solution
2,191 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,058 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
1,059 Views
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 Kudos
Reply
1,058 Views
Tommy_Liu
Contributor II

Dear Vojtech,

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

0 Kudos
Reply
1,058 Views
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 Kudos
Reply
1,058 Views
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 Kudos
Reply