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
已解决! 转到解答。
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
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