Problem to enable CRP in LPC2468

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem to enable CRP in LPC2468

1,042 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

926 次查看
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 项奖励
回复

926 次查看
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 项奖励
回复