Hi, is it possible to use the entire FlexNVM E-Flash to backup data?

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

Hi, is it possible to use the entire FlexNVM E-Flash to backup data?

ソリューションへジャンプ
1,232件の閲覧回数
shridharrao
Contributor II

My processor (K50PM100) has 256 KB of FlexNVM but the FlexRAM is 4KB. The documents say that only 4KB can be backed up in FlexNVM. Is it not possible to store something like say 200KB into FlexNVM by repeatedly backing up the FlexRAM in various locations of FlexNVM?

cheers!

-shridhar

ラベル(2)
タグ(1)
1 解決策
1,011件の閲覧回数
santiago_gonzal
NXP Employee
NXP Employee

Hello,

FlexNVM is used to emulate a EEPROM, expanding the write/read cycles of Flash memory (Normally about 10K cycles) to much more lifetime. To do that, the FlexNVM peripheral uses the 256 Kb of Flash in pieces of 4Kb to write in them sequentially. You can get more information here: http://cache.freescale.com/files/32bit/doc/app_note/AN4282.pdf

If you want to use those 256 Kb as normal flash, of course you can write as much information as you want, but the endurance will be limited to normal flash write/ready cycles.

Regards,

Santiago

元の投稿で解決策を見る

3 返答(返信)
1,011件の閲覧回数
shridharrao
Contributor II

Hi Santiago, thanks for your clarification! I read that document and somehow thought that we always have to use FlexNVM as EEE.  So, if we don't configure FlexNVM as EEE, will it by default work like a regular FLASH? I understand that total read/write cycles will be less than 10K in that case, but what about the program time? Will it be in the order of milliseconds?

My requirement is to back up some data (upto 200 KBytes) without the need for high endurance and the remaining for high endurance. So can I configure 200KB as D-Flash and remaining as E-Flash?

thanks again,

-shridhar

0 件の賞賛
返信
1,011件の閲覧回数
santiago_gonzal
NXP Employee
NXP Employee

Hello,

Yes, you have to reserve at least 32 Kb to EEE, but the rest of the E-Flash block can be used as normal Flash for back up your data as normal flash.

Regarding the program and erase time of the flash of your device, you have all the details specified in the DataSheet.

Regards,

Santiago

0 件の賞賛
返信
1,012件の閲覧回数
santiago_gonzal
NXP Employee
NXP Employee

Hello,

FlexNVM is used to emulate a EEPROM, expanding the write/read cycles of Flash memory (Normally about 10K cycles) to much more lifetime. To do that, the FlexNVM peripheral uses the 256 Kb of Flash in pieces of 4Kb to write in them sequentially. You can get more information here: http://cache.freescale.com/files/32bit/doc/app_note/AN4282.pdf

If you want to use those 256 Kb as normal flash, of course you can write as much information as you want, but the endurance will be limited to normal flash write/ready cycles.

Regards,

Santiago