Writing/reading to/from non-volatile memory MC9S12XF512

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

Writing/reading to/from non-volatile memory MC9S12XF512

ソリューションへジャンプ
515件の閲覧回数
thomasbelekokia
Contributor I

hi,

i'm using  MC9S12XF512 devices, trying to store small piece of data in non-volatile memory.

tried to adapt code for different devices but the most i could achieve is to store/read data in debug mode.

no success when not in a debug mode.

 

basically the idea is to start running running a device and once a switch is ON, store a byte of data in a non-volatile mem. Then power cycle, check memory, data is safely written in the memory.

 

perhaps there are people who have done it hundreds of times, so an idea/advice would be very helpful.

ラベル(1)
1 解決策
424件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

AN4258.pdf and AN4258SW include how to implement how to implement HCS12x non-volatile memory.

hope this can help

元の投稿で解決策を見る

3 返答(返信)
424件の閲覧回数
thomasbelekokia
Contributor I

Thanks for that.

I've just managed to get it working with AN3961SW & AN3961.

Will try now bootloaders that you suggested, I think if I combine two of those I'll get pretty much what I was expecting.

thanks again.

0 件の賞賛
424件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

you are welcome!

0 件の賞賛
425件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

AN4258.pdf and AN4258SW include how to implement how to implement HCS12x non-volatile memory.

hope this can help