Page 1 of 1

how to protect the codes

Posted: Fri Jun 13, 2008 10:16 am
by saravana_3
after we write the codes, if the code become a company product, how to protect the code, from others copying the code. is there any kind of encription to protect the code.
my another doubt, is able to convert the hex code back to the assembly code.
i thing by ON the code protection, others cannot read the hex code from the cip. is there any other way to protect the code
thanks

Re: how to protect the codes

Posted: Fri Jun 13, 2008 11:00 am
by Steve
Code protection is what you require, but I think it can be hacked by someone who is very keen to get at your code.

I'm not sure if a disassembler will be useful to anyone, because it will not be able to reproduce your comments, variable names or label names within your program. This means the code is going to be very difficult to understand, especially for a complicated program.

Re: how to protect the codes

Posted: Mon Jun 16, 2008 2:01 am
by saravana_3
Hi Steve,
do you mean when burn the program in to the chip,ON the code protection in the configuration, is the only way to protect the code.
thanks

Re: how to protect the codes

Posted: Mon Jun 16, 2008 8:49 am
by Steve
Yes - turn "code protection" on when burning the code into the chip.