CodeWarrior-AN2720- I want a program in C for writing in Flash Memory

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

CodeWarrior-AN2720- I want a program in C for writing in Flash Memory

ソリューションへジャンプ
1,662件の閲覧回数
ARBM66
Contributor I

Hello everybody!

I'm trying to write a program in C in Codewarrior for writing data in flash memory.

I'm using a 9S12E128 16 bit microelectronic with a Licensed Codewarrior v5.9.

I have many difficulty in this way. I have studied many books and test many subroutine.

Found a application note and program in freescale website(A2720) for Flash Programming but I couldn't find the file Flash.h in the download files so it does not work unfortunately.

I'm looking for a fastest way to get result.

Is anybody can help me please?

Thanks

ラベル(1)
0 件の賞賛
1 解決策
437件の閲覧回数
ipa
Contributor III

Hi,

If you have AN2720, see page 9 - flash.h file is included there.

Regards,

ipa

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
438件の閲覧回数
ipa
Contributor III

Hi,

If you have AN2720, see page 9 - flash.h file is included there.

Regards,

ipa

0 件の賞賛
437件の閲覧回数
ARBM66
Contributor I

Thank you jpa for your kind and prompt reply

I have another problem There is couple of error in my compiler

it could not find  "projectglobals.h" and also the the variable declration such as:

 Flash.fclkdiv.byte = Flash.fclkdiv.byte | fclk_val| FDIV8;

Could you please again help me to find out the problem?

Best regards

ARBM66

 

  

0 件の賞賛