How to disable CRP 2

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

How to disable CRP 2

2,547件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by masterboy on Mon Jun 10 00:39:54 MST 2013
Hi all,

Is there a way to cancel a CRP level 2? Or is it impossible? I would try to set CRP 2, but I'm afraid I have not blocked the definitive recording.
0 件の賞賛
返信
2 返答(返信)

2,167件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Mon Jun 10 19:58:51 MST 2013
Take a look at these NXP application notes for details about CRP levels and how it must be used. :)

For LPC11xx/13xx:
http://ics.nxp.com/support/documents...df/an10968.pdf
For LPC17xx:
http://ics.nxp.com/support/documents...ip/an10851.zip
0 件の賞賛
返信

2,167件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon Jun 10 00:55:49 MST 2013

Quote: masterboy
Is there a way to cancel a CRP level 2? Or is it impossible? I would try to set CRP 2, but I'm afraid I have not blocked the definitive recording.



What's not clear there?

  
Quote:
Table 568. Code Read Protection options[1]
CRP1 0x12345678
[COLOR=Red]Access to chip via the JTAG pins is disabled. This mode allows partial flash update using the following ISP commands and restrictions:[/COLOR]
• Write to RAM command can not access RAM below 0x10000200. This is due to use of the RAM by the ISP code, see Section 32.3.2.7.
• Read Memory command: disabled.
• Copy RAM to Flash command: cannot write to Sector 0.
• Go command: disabled.
• Erase sector(s) command: can erase any individual sector except sector 0 only, or can erase all sectors at once.
• Compare command: disabled

This mode is useful when CRP is required and flash field updates are needed but all sectors can not be erased. The compare command is disabled, so in the case of partial flash updates the secondary loader should implement a checksum mechanism to verify the integrity of the flash.

CRP2 0x87654321
This is similar to CRP1 with the following additions:
• Write to RAM command: disabled.
• Copy RAM to Flash: disabled.
• Erase command: only allows erase of all sectors.

0 件の賞賛
返信