Writing Boolean Variables to Flash

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

Writing Boolean Variables to Flash

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

Hi All,

 

I am a bit of a novice when it comes to embedded programming. I am using codewarrior (C programming language) and the 56F8346 microcontroller.

 

I want to write the value of my boolean operator define as : "bool PASSWORD_Enable;" to the flash memory. 

 

What is the key words for this, as have tried   " IFsh1_SetWordFlash" as I have saw this used for other but it doesn't seem to work.

 

Can anyone give me any advice on how to save this value to the flash memory?

 

Many thanks,

 

Steve

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,053件の閲覧回数
J2MEJediMaster
Specialist I

You just cannot write to a Flash memory address and program it. Special techinques are involved. For starters, read the DSCxxxx Targeting manual that came with the CodeWarrior installation, with regards to flash programming. Also, type "flash programming" in the search box at the upper right of this web page and you will get a number of hits on similar queries asked in the forums. Hope this helps.

 

---Tom

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,054件の閲覧回数
J2MEJediMaster
Specialist I

You just cannot write to a Flash memory address and program it. Special techinques are involved. For starters, read the DSCxxxx Targeting manual that came with the CodeWarrior installation, with regards to flash programming. Also, type "flash programming" in the search box at the upper right of this web page and you will get a number of hits on similar queries asked in the forums. Hope this helps.

 

---Tom

0 件の賞賛
返信