Content originally posted in LPCWare by IanB on Sat Feb 08 02:32:22 MST 2014
Thanks for that.
Am I correct in thinking that if my code says:
.org 0x02fc
.word 0x0
or
.org 0x02fc
.word 0x12345678
then CRP gets set to the appropriate level, because it is just the value stored a location 0x02FC in the flash memory, even if I turn off "Enable Code Read Protect" in Properties->MCU Linker->Target?
Thus the nannying error message will go away, and I can still have code read protection.
Similarly, if the code includes:
.org 0x0000
.word0x10002000 /* 0 Top of Stack */
/* CM0 system interrupts */
.wordResetISR /* 1 Reset Handler */
then, presumably, execution will start at the label "ResetISR". (Yes I do have a label called ResetISR, but I still get the error message, so what do I do to make the error message go away, as there appears to be no real error, just an irritating message.