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 ?
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
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.
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.