Flash as EEPROM

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

Flash as EEPROM

948件の閲覧回数
subhrat
Contributor I

I want ot use Flash as EEPROM. The whole flash is divided as 512 byte pages. So if the main program is loaded in a particular section of  memory, and i want to write my data in another section, am i able to do that? I think this possible because at a time a particular 512 byte can be erased, without disturbing the whole memory. And i am using the MC9S08AC60. But i don,t know how to do that. Does anyone have any idea how to do this? Please help.

ラベル(1)
0 件の賞賛
返信
1 返信

682件の閲覧回数
bigmac
Specialist III

Hello, and welcome to the forum.

 

This is a frequently addressed topic within this forum.  A recent thread about the programming process is here.  Maybe this will help.  But use the forum search engine to find further threads on this topic.  However, you will first need to become familiar with the flash erase and programming processes, as described in the datasheet or reference manual, within the "Memory" section.

 

The simplest situation is where the non-volatile data sector erase occurs sufficiently infrequently that flash "wear out" is not an issue.  For more frequent update of the non-volatile data, much more complex "wear spreading" techniques neen to be adopted.

 

Regards,

Mac

 

0 件の賞賛
返信