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.

Linker CRP Enabled, but no CRP_WORD provided within application

In version 3.6 (Windows) / 3.8 (LPCXpresso for Linux) and later of the Code Red IDE, there is built-in support for NXP's Code Read Protect (CRP) mechanism.

The above error will be generated if you build a project with the linker CRP option enabled, but do not have the appropriate CRP variable defined in your project sources.

In order to fix this problem, you will either need to add the appropriate "CRP_WORD" variable to your sources, for example:

#include <NXP/crp.h>
__CRP const unsigned int CRP_WORD = CRP_NO_CRP ;

or turn off the use of CRP in the linker properties. For more details, please see the FAQ "Enhanced Managed Linker Scripts".

Note that if you create a new project for an MCU with CRP support using the project wizard, then the appropriate CRP variable will be included in the default main.c file.

CRP_LinkError (last edited 2011-04-26 13:44:49 by CrSupportAb)