Hello,
Can we change CRP protection from code. Like this const unsigned long crp __attribute__ ((at(0x2FC))) = 0x87654321;
I need code read protection in my project. But if I enable it then JTAG will be disabled. To make it work in need, I will provide Button on My touch HMI and on button press event, I will change CRP protection to NO_CRP so I can use JTAG.
After burning new software, CRP will be reset to CRP2.
Pradeep P.
What the point in CRP then, if you can disable it like that?! The answer is no - you cannot. The only way out of using CRP1 or CRP2, and deleting the chip entirely to get JTAG working again.