code protection for 16f1829
Moderator: Benj
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel