CRP1 and IAP command

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

CRP1 and IAP command

1,165 次查看
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,148 次查看
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,148 次查看
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,148 次查看
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,148 次查看
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 项奖励
回复