Code Read Protection (CRP) is a mechanism that allows you to enable different levels of security in the system so that access to the on-chip flash and use of the ISP can be restricted. When needed, CRP is invoked by programming a specific pattern in Flash location at 0x000002FC.
If value 0x12345678 is programmed to the address 0x2FC (CRP1), access to the chip via the JTAG pins is disabled, which means the debugger can no longer have control over the CPU via the JTAG debug interface. Hence, use code read protection with caution.
Write access to this area is skipped by default as the chip can be locked permanently if a CRP2 or CRP3 pattern is programmed incorrectly.
1. Open Hardware | <device name> | Configure.
2. See the Regions section in the Device dialog.