How to create a section in flash as eeprom

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

How to create a section in flash as eeprom

1,700件の閲覧回数
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,669件の閲覧回数
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,663件の閲覧回数
divithsid
Contributor I

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

 

0 件の賞賛
返信

1,632件の閲覧回数
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,643件の閲覧回数
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 件の賞賛
返信