This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Regarding CRP Protection

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.

Parents
  • Thank you for replies.

    Sorry for late comment.

    I should enable CRP to protect my code. Because its commercial product and already one of our previously developed product has been copied by someone somewhere in China. So there is lot of pressure on us about code protection.

    I am using LPC1788 MCU. For programming, I am using USB Secondary bootloader. So I will keep 2 Level password protected button on my HMI and also on Web Server. using that button as input I will use IAP to overwrite CRP.

    I want to break CRP protection, in case where debugging of particular card is needed.

    Pradeep Pol

Reply
  • Thank you for replies.

    Sorry for late comment.

    I should enable CRP to protect my code. Because its commercial product and already one of our previously developed product has been copied by someone somewhere in China. So there is lot of pressure on us about code protection.

    I am using LPC1788 MCU. For programming, I am using USB Secondary bootloader. So I will keep 2 Level password protected button on my HMI and also on Web Server. using that button as input I will use IAP to overwrite CRP.

    I want to break CRP protection, in case where debugging of particular card is needed.

    Pradeep Pol

Children