EEPROM in flash

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

EEPROM in flash

8,369件の閲覧回数
ppcco
Contributor I
Hello, I need a routine wirted in c to emulate eeprom in flash memory, someone can help me?
 
Regards
ラベル(1)
0 件の賞賛
返信
8 返答(返信)

2,008件の閲覧回数
gregk
Contributor I
I see that many places it is called wear leveling instead of code leveling.

This Spansion document shows the functionality very well and could help anyone get started.
http://www.spansion.com/application_notes/22274.pdf
0 件の賞賛
返信

2,008件の閲覧回数
gregk
Contributor I
Load leveling is where the processor manages the number of write operations to a specific location. Actually here is an article on EDN about it.
http://www.elecdesign.com/Articles/Index.cfm?AD=1&ArticleID=12120

gk
0 件の賞賛
返信

2,008件の閲覧回数
irob
Contributor V
Ahh, yes ok. Funny, I'd never heard the term before but I'm actually doing that in my own code. It wasn't too bad to do by hand, depending on how many bytes you're storing.
0 件の賞賛
返信

2,008件の閲覧回数
gregk
Contributor I
I need to emulater EEPROM also. The previous document is nice but does not have code for load leveling. I would think if we had the source code for any of the 908s it would be easy to adapt to a specific device.

gk
0 件の賞賛
返信

2,008件の閲覧回数
irob
Contributor V


gregk wrote:
The previous document... does not have code for load leveling.



What do you mean by load leveling?
0 件の賞賛
返信

2,008件の閲覧回数
irob
Contributor V
I just posted over on another thread, but here it is again...

I just got some new info from my local distributor about updated Freescale docs:

AN1831 using MC68HC908 On-Chip FLASH Programming Routines
AN2874 Using M68HC908 ROM-Resident Routines
AN2874SW CodeWarrior 5 demo software for both the HC908QY4 and HC908LJ12

Looks promising...
0 件の賞賛
返信

2,008件の閲覧回数
irob
Contributor V
There is a C reference project written by Metrowerks to do this. It's for a different processor but it work.
0 件の賞賛
返信

2,008件の閲覧回数
yb
Contributor IV
Hi,
It depends on the 68HC08 familly you use...
Some ref. are embedded routines to do this (KX, ..).
 
 
0 件の賞賛
返信