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

How can i protect a program from write/erase?

Hi!
For a few months i use uVisoin(RealView compiler) from Keil to program the ARM LPC2138 mikrocontroller.I use also the IAP-programing and i don't want to erase or write the main program.
How can i do it?

Thanks for any answer.

Best regards

Peclare

Parents
  • Hi!
    Excuse me that i didn't give more explanation.It has to do with flash protection. I have create a "loader",which is composed of many c-codes, variables...
    I want to fix this "loader" on a particular location of the flash memory and at the same time to make sure that this "loader" can not be write or erase (for example wenn the sector erase for IAP-programing is executed).

    The Link that you are given me is only for a value?

    Thank you for any answer

Reply
  • Hi!
    Excuse me that i didn't give more explanation.It has to do with flash protection. I have create a "loader",which is composed of many c-codes, variables...
    I want to fix this "loader" on a particular location of the flash memory and at the same time to make sure that this "loader" can not be write or erase (for example wenn the sector erase for IAP-programing is executed).

    The Link that you are given me is only for a value?

    Thank you for any answer

Children