CRP1 and IAP command

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

CRP1 and IAP command

1,150件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Tue Jul 26 02:53:32 MST 2011
LPC1758
I have protected the chip with CRP1 flag.
The application run correctly, but I cannot write flash from IAP command present in the application.
This is correct ?
How can I use Code Read Protection and program flash ?
0 件の賞賛
返信
4 返答(返信)

1,133件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Mon Aug 29 07:21:13 MST 2011
I have modified the stack, but the problem remain !!
Without CRP1 IAP ok, With CRP1 application goes, but IAP don't work
0 件の賞賛
返信

1,133件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Wed Jul 27 08:05:10 MST 2011
There is an issue with the stack and using IAP. IAP uses 32 butes of memory
in a fixed position above the stack. The standard build settings provide only
16 bytes as I remember. Check out this thread.

http://knowledgebase.nxp.com/showthread.php?t=782

This one got me too.

Pete.
0 件の賞賛
返信

1,133件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by blasiis on Wed Jul 27 07:51:23 MST 2011
Why my IAP don't work ?
Possible causes ?
0 件の賞賛
返信

1,133件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kendwyer on Wed Jul 27 07:36:27 MST 2011
With CRP1 enabled JTAG access is disabled and ISP is partially restriced, see the UM Chapter 32. When any CRP is enabled IAP commands are not affected.

Check out the Application Note here:
http://ics.nxp.com/support/documents/microcontrollers/zip/an10851.zip
0 件の賞賛
返信