Hello!
I have an LPC824 microcontroller (LPC824M201JDH20J) and I'm attempting to implement Code Read Protection (CRP). Looking at the microcontroller datasheet, I see that CRP1 can be implemented by writing 0x12345678 to 0x2FC and CRP2 can be implemented by writing 0x87654321 to 0x2FC.
My software release is an .s19 file and I modified memory location 0x2FC of the .s19 file to 0x12345678 and updated the associated checksum in the .s19 file. I programmed the .s19 file to my microcontroller using a Multilink-FX programmer and PROGACMP. After programming, I was able to read back memory location 0x2FC and confirm that it indeed contained 0x12345678. I then power cycled the microcontroller and reconnected using PROGACMP and was able to dump the contents of the microcontroller with no restrictions. I did not expect this to be case with CRP1.
I repeated the same procedure but implemented CRP2 by writing 0x87654321 to 0x2FC. Again, after power cycling, I was able to connect to the microcontroller and dump the contents.
I imagine there is something simple that I'm missing. Any ideas? Any help is appreciated!
Thank you!