Discussion Forum

How can i protect a program from write/erase?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Peclare Mambe
Posted
4-Sep-2007 09:15 GMT
Toolset
ARM
New! 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

Read-Only
Author
Reinhard Keil
Posted
4-Sep-2007 16:53 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

I do not fully understand this question. Is it for Flash protection.

You can place the security value to the Flash as explained here: http://www.keil.com/support/docs/3237.htm

Read-Only
Author
Peclare Mambe
Posted
5-Sep-2007 10:48 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

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

Read-Only
Author
Peclare Mambe
Posted
5-Sep-2007 10:49 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

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

Read-Only
Author
Andy Neil
Posted
5-Sep-2007 11:00 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

This is really to do with the features of the specific chip - not the Keil tools.

Therefore, you might be better asking the chip manufacturer...

Have you checked the Datasheet, Product manual, etc, etc...?

Read-Only
Author
Peclare Mambe
Posted
5-Sep-2007 11:49 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

I have bought the MCB2130 by Keil.

Read-Only
Author
Peclare Mambe
Posted
12-Sep-2007 14:32 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

Hi!
I have checked the LPC213x user manual and i discover that there is one feature "code read protection" for code protection. But the fact is that only ISP commands are affected by this code and IAP commands are not.
What i want to use is IAP commands.

May be someboby can help me to find out the solution.

Thank you

Read-Only
Author
Peclare Mambe
Posted
17-Sep-2007 10:04 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

Hi!

Please help me.

Thanks

Read-Only
Author
Per Westermark
Posted
17-Sep-2007 10:36 GMT
Toolset
ARM
New! RE: How can i protect a program from write/erase?

Have you been in contact with the NXP support engineers?

Next Thread | Thread List | Previous Thread Start a Thread | Settings