How to create a section in flash as eeprom

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

How to create a section in flash as eeprom

1,698 次查看
divithsid
Contributor I

I want to create a section in flash as eeprom. How to do it? is there any demo code available to implement it.

标签 (1)
0 项奖励
回复
4 回复数

1,667 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
Hope you are well.
Unfortunately, the RT106x doesn´t have this feature unlike other families with FlexMemory like kinetis K64.

I apologize for the inconvenience this may cause you, if you have more questions do not hesitate to ask me.
Best regards,
Omar

0 项奖励
回复

1,661 次查看
divithsid
Contributor I

Im using external flash. can we do it in external flash?

 

0 项奖励
回复

1,630 次查看
jay_heng
NXP Employee
NXP Employee

You need to create firmware to emulate eeprom, it is MCU chip independent, you can refer to below links for firmware design.

https://electronics.stackexchange.com/questions/258851/flash-eeprom-emulation

https://www.silabs.com/documents/public/application-notes/AN568.pdf

 

For i.MXRT SDK, we don't have eeprom emulate driver, the most similar design is in \SDK\components\flash\mflash

 

0 项奖励
回复

1,641 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

I suggest you contact the external flash manufacturer. I believe it is not possible to emulate an EEPROM with flash memory.
You can use the flash to store some data however this is not recommended since it will shorten the life of the memory since you will be making a lot of programming cycles.

I apologize for the inconvenience this may cause you, if you have more questions do not hesitate to ask me.
Best regards,
Omar

0 项奖励
回复