Flash programming routine/EEPROM emulation

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

Flash programming routine/EEPROM emulation

3,394件の閲覧回数
FordFairlaneBen
Contributor I
Hi:
I´m looking for a routine which allows me to write in flash and use it like an EEPROM in a MC9s08AW60. I only want to write some bytes like date, serial number and things like that. Is there any AN or something like that where shows how to do that?.
Thanks.
Best Regards
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,185件の閲覧回数
Alban
Senior Contributor II
Hello,

In the page of the device, you will find the tools to program it.
There is a file for Flash programming drivers to include in your project.

Search for Flash Drivers in the AW60 MCU page.

Cheers,
Alban.
0 件の賞賛
返信

1,185件の閲覧回数
FordFairlaneBen
Contributor I
Hi it´s me again:
I have downloaded what you said but the  code is in assembler. I am programming in C. How can I do to mix both langauges in Code Warrior?.
Sorry about so many questions but  this MCU is new for me and I have lot of doubts.
Thank you very much.
Best regards.
0 件の賞賛
返信

1,185件の閲覧回数
irob
Contributor V
See the old Metrowerks technical note, TN015 "Mixing Assembly and ANSCI C in an Application". I don't think it's on Freescale's server anymore, so I've attached it for you.

Also, here are some other good places to start:

Flash Writing and Erasing for the MC9S08QG8

HCS08 Flash Erase/Write Routines

FLASH PROBLEMS HELP

Message Edited by irob on 2007-01-0912:28 PM

0 件の賞賛
返信