**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

Code Read Protect (CRP)

Background

NXP's Cortex and ARM7 based MCUs contain "Code Read Protect" (CRP) support. When the MCU boots, a specific word in flash memory is read and depending upon its value, the MCU may prevent access to the flash memory by external devices. ( Please see the NXP documentation for your chip at http://www.nxp.com/products/microcontrollers/ for more information on CRP.)

Support for CRP in Code Red IDE

In version 3.6 (Windows) / 3.8 (LPCXpresso for Linux) and later of the Code Red IDE, support for setting up the CRP memory location is provided via a combination of the Project Wizard, a header file and a number of macros. This support allows specific values to be easily placed into the CRP memory location, based on the user's requirements.

For more details of the support for CRP in the Code Red IDE, please see the FAQ "Enhanced Managed Linker Scripts".

For information on CRP related build issues, please see the FAQs:

For information on reducing the amount of "spare" memory that enabling CRP will cause in your application image, please see the FAQ "Reducing Code Size when CRP enabled".

CodeReadProtect (last edited 2013-06-03 13:20:11 by CrSupportAb)