What are the differences between D-FLASH and EEPROM?

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

What are the differences between D-FLASH and EEPROM?

7,057件の閲覧回数
jimfung
Contributor III

What are the differences between D-FLASH and EEPROM?

タグ(2)
0 件の賞賛
返信
1 返信

6,325件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

 

in case of D-Flash, everything is up to user – user is responsible to erase a block, program new data to flash. It is possible to write one double word (64bits) at a time. The double word must be fully erased prior to programming. It is not allowed to program doubleword which is not in erased state. If it is not in erased state, whole block must be erased (2KB in case of FlexNVM). This is the main disadvantage – if you need to modify a doubleword which is not in erased state and if you need to keep the rest of the content, it is necessary to load the data to RAM, erase flash sector and program all data back to flash… Another option is to develop some kind of circular buffer mechanism when new data are stored to flash one by one. Once the sector is full, erase it and then continue…

 

If Emulated EEPROM is used, user just read/write FlexRAM. Flash controller will ensure that data records are loaded from flash to RAM after reset and it ensures that new records are programmed to flash when user writes FlexRAM. This is convenient solution when it is required to store some data to flash frequently. If the ratio between user data / allocated size of FlexNVM is low enough, it also extends the lifetime of flash (number of program/erase operations) significantly.

 

Regards,

Lukas

0 件の賞賛
返信