This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

flash

hello everyone:

I have a question.

I want to store some datum in my on-chip flash when my appliance programme running.I can write on-chip flash to store the datum .But if I update the software on my hareware,I have to reload the new software on on-chip flash,and the datum stored in on-chip flash is overlay or missing.

Can I lock the datum area without overlayed by reload the programme?

Develop entironment :Keil 3 for C166
MCU: XC167CI-32F

Thank you !

Parents
  • The flash is organized in sectors which can be protected by a user password to protect against unintended write or erase operations.

    You can also organize your Keil project to only use one of the sectors for your "const data" that can be updated in the field. The other sectors used for program execution and data that you don't update in the field.

Reply
  • The flash is organized in sectors which can be protected by a user password to protect against unintended write or erase operations.

    You can also organize your Keil project to only use one of the sectors for your "const data" that can be updated in the field. The other sectors used for program execution and data that you don't update in the field.

Children
No data