Ttelmah
Joined: 11 Mar 2010 Posts: 19360
|
|
Posted: Thu Jun 09, 2011 8:32 am |
|
|
Why not just use the code protection fuses?. Superior to anything you are likely to generate on your own.
Remember you can set the chip to still allow a bootloader to operate, then add an encryption algorithm to this, and depending on how 'strong' this is, even people with your supplied code, to write the program, won't be able to tell what goes into the chip.
If you want to calculate the checksum that will be put in the ID, look at this thread:
<http://www.ccsinfo.com/forum/viewtopic.php?t=17536>
where code is posted to do this.
Best Wishes |
|