lpc4337 of crp

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lpc4337 of crp

1,332件の閲覧回数
cyc583723081
Contributor I

hi,

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

ラベル(1)
0 件の賞賛
4 返答(返信)

1,187件の閲覧回数
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 件の賞賛

1,187件の閲覧回数
cyc583723081
Contributor I

hi,

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

0 件の賞賛

1,187件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

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

BR

Xiangjun Rong

0 件の賞賛

1,187件の閲覧回数
cyc583723081
Contributor I

hi,

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

0 件の賞賛