Hi All, I am looking for code examples on how to set Code Protection on. Eg address 0x1FC = 0x87654321 For GCC, Keil and IAR Eg Does this look right? // write to address macro #define REG(addr) (*(static unsigned long *)(addr)) REG(0x1FC) = 0x87654321; Or would it be better loaded in the startup file. Any pointers (pardon the phun..) would be appreciated. Thanks in Advance Joe
Message
LPC2000 Flash protection example wanted
2005-12-19 by phlpcmicro