mc908gp32 - using flash as eeprom? I can´t

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

mc908gp32 - using flash as eeprom? I can´t

3,116件の閲覧回数
GTE
Contributor I
I need to store data in flash memory of mc908gp32
I have followed step by step, which indicates the manual. I can not find the mistake.
Could someone giving me an example of how to store data in flash memory in assembler language
Thanks for your help
 
 
 
 
 
 
 
 
 
Added p/n to subject.


Message Edited by NLFSJ on 2007-10-31 04:57 PM
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,217件の閲覧回数
blaz
Contributor I
Remember that you have to run the program on the ram is not on the rom. That could be your mistake
0 件の賞賛
返信

1,217件の閲覧回数
Ake
Contributor III
Hi,
I wrote this GP32FLASH8 assembler routine several years ago.
It was written in the P&E assembler, so it needs rewriting if you want to use it in a CodeWarrior environment.
It shows how to change single bytes as used in an EEPROM.
 
(I have written it myself, so no guaranteee that it works)
 
Regards,
Ake
0 件の賞賛
返信

1,217件の閲覧回数
Technoman64
Contributor III
This might help, I use FLASH with MC908GT8 mcu for user settings and trim values. There is a demo project in the last post. I should have used the first two 64 byte sectors of FLASH instead of the last two. This way the FLashBlockProtect can be used to protect the FLASH the code resides in. I have corrected this in my own software but not in the demo project.
 
 
 
0 件の賞賛
返信

1,217件の閲覧回数
peg
Senior Contributor IV
Hi GTE,
 
Have you seen AN2183? It seems to be exactly what you want.
Plug it in to the keyword search at the top right of this page.
Good Luck!
 
0 件の賞賛
返信