Page 1 of 1

Code Protect PIC32MZ2048EFG144

Posted: 26 Nov 2019 22:28
by ahmed.hasib
Hi,
i use MBPro PIC32.
How to protect my code from being copied from my device PIC32MZ2048EFG144 :?:
i tried to configure it from project settings screen but found nothing :!:
Thanks for support :idea:

Re: Code Protect PIC32MZ2048EFG144

Posted: 27 Nov 2019 09:42
by stefan.filipovic
Hi Ahmed,

Please refer to the following forum topic:
viewtopic.php?f=164&t=67525

Kind regards,

Re: Code Protect PIC32MZ2048EFG144

Posted: 01 Dec 2019 18:38
by ahmed.hasib
Hi Stefan,
Thank you for your reply.
i use Mplab x ipe v5.25 to program my pic32mz by pickit3 from olimex https://www.olimex.com/Products/PIC/Pro ... /PIC-KIT3/
i tried to find CP in mplab x ipe but didn't find.
is microprog suite from ME compatible with Pick kit3 in above link?
thanks.

Re: Code Protect PIC32MZ2048EFG144

Posted: 01 Dec 2019 19:39
by MicroMark
ahmed.hasib wrote:Hi,
i use MBPro PIC32.
How to protect my code from being copied from my device PIC32MZ2048EFG144 :?:
i tried to configure it from project settings screen but found nothing :!:
Thanks for support :idea:
In your compiler go to pull down menu "project" then "edit project". You will find all your configs including which memory you can protect

Re: Code Protect PIC32MZ2048EFG144

Posted: 01 Dec 2019 20:07
by ahmed.hasib
Hi,
it is not for pic32mz.
maybe pic18 and 16

Re: Code Protect PIC32MZ2048EFG144

Posted: 02 Dec 2019 16:02
by stefan.filipovic
Hi Ahmed,

You can do it in MPLAB X IPE, just go to Window/Target Memory Views/Configuration Bits and there you can set DEVCP0 register.

Kind regards,