Problem to enable CRP in LPC2468

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem to enable CRP in LPC2468

1,037 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Mon Sep 08 00:48:48 MST 2014
Hi,

i'm programming LPC2468 CPU. I'm tryng to enable CRP without success.
I choice the correct level protection in the CRP.c file and added the symbol
in the symbol directive. I also enable "Enable Code Read Protection" in linker script
section but seem to have no effect. Reading the hex file seem that the setting of
the CRP is not set correctly (my choice is CRP_NO_ISP    0x4E697370) point but however the CRP don't work. I post the hex file that show that there is no CRP enabled:

:1001F000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F
Labels (1)
0 Kudos
Reply
2 Replies

921 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Mon Sep 08 02:18:29 MST 2014
Solved! This modality is upgraded only after RESET! I

I still have the following problem: when i use FLASHMagic and after programming i do
the GO at 0x00 location the program don't run. if i manually reset the program run!
0 Kudos
Reply

921 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Italia on Mon Sep 08 01:24:18 MST 2014
I add the checksum generation in my postbuild compilation command set and now i have
my CRP in correct memory location, but when i program my CPU by FLASHMagic and i
check the CRP it say "CRP Disabled". Why??
0 Kudos
Reply