...enable code read protection (LPC1000)
The LPC1000 user guide states that I can enable code read protection by programming location 0x000002FC with the value 0x87654321. How can I do this in CrossStudio?
You can do this by adding the following code to the end of the .vectors section in the startup assembly code file:
.org 0x000002FC .word 0x87654321
Warning: With code read protection enabled the JTAG port will be disabled which means that you will no longer be able download and debug over JTAG, see your LPC1000 user guide for more information.
Please sign in to leave a comment.
Comments
0 comments