lpc4337 of crp

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

lpc4337 of crp

1,237 Views
cyc583723081
Contributor I

hi,

我在应用lpc4337,我想设置代码保护;并将satrtup.s中的CRP_Key改为了0x12345678,pastedImage_2.png编译之后,我发现并没有起效果,jtag依然能读取到代码,并且在0x1A0002FC的位置处并不是0x12345678,pastedImage_1.png;这是为什么?

Labels (1)
0 Kudos
4 Replies

1,092 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Pls refer to the NOTE at section 6.6 Code Read Protection (CRP), in other words, the new CRP setting is not valid until you power off and power on.

BR

XiangJun Rong

Important: Any CRP change becomes effective only after the device has gone
through a power cycle.

0 Kudos

1,092 Views
cyc583723081
Contributor I

hi,

谢谢您的回复,我进行了断电和上电操作,但是jtag依然可以读取到代码,并且0x1A0002FC的位置处的值依然不是0x12345678。

0 Kudos

1,092 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

你用的什么工具? 写法和工具相关

BR

Xiangjun Rong

0 Kudos

1,092 Views
cyc583723081
Contributor I

hi,

   非常感谢您的回复,我已经解决了问题,keil工程中配置了NO_Crp宏导致的。

0 Kudos