code protection for 16f1829

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times

code protection for 16f1829

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: code protection for 16f1829

Post 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.

Post Reply