Page 1 of 1
code protection for 16f1829
Posted: Thu Apr 05, 2012 3:55 am
by brandonb
what options do i select on 16f1829 for code protection so no one could pirate firmware, i wanted to make sure i was doing it right
Re: code protection for 16f1829
Posted: Thu Apr 05, 2012 11:06 am
by Benj
Hello,
I would do the following.
Flash Program Memory Code Protection Bit - Enabled
Data EE Read Protect - Enabled
And if your program never writes to the flash memory then this additional setting will give you slightly more security against a forced attack using a bootloader.
Flash memory self write protect - Enabled 000h to FFFh
Note with these settings enabled you will get programming errors due to the lack of code read back functionality during the verify stage.
Hope this helps.