View previous topic :: View next topic |
Author |
Message |
Einly
Joined: 10 Sep 2003 Posts: 60
|
locking PIC program |
Posted: Sat Feb 12, 2005 2:26 am |
|
|
Anybody has idea to lock PIC and avoid people copy my firmware?
Seems like the 'protect' command doesn't block others from copying
PIC. And there is also no security code to lock the chip.
What is your suggestion on this?
regards: Einly, _________________ Einly |
|
|
libor
Joined: 14 Dec 2004 Posts: 288 Location: Hungary
|
|
Posted: Sat Feb 12, 2005 3:38 am |
|
|
What do you mean by 'protect doesn't block others from copying' ?
I suppose you mean, that you can still 'read' a code-protected PIC. Have you ever looked at the 'code' you managed to 'read out'? You should have seen that it is garbage and not a valid code, there's no way you can program this into another PIC an get a running program. |
|
|
Sherpa Doug Guest
|
|
Posted: Sat Feb 12, 2005 7:53 am |
|
|
If you read a protected PIC all you get is a hash code. The hash code is like a word by word checksum which is usefull to verify the chip programming, but (almost) impossible to translate back to the original binary image.
By (almost) impossible we are talking mega dollar, thousands of man months effort. If they want your code that bad they will just kidnap you and beat it out of you ;-)
Sherpa Doug |
|
|
libor
Joined: 14 Dec 2004 Posts: 288 Location: Hungary
|
|
Posted: Sat Feb 12, 2005 8:12 am |
|
|
Quote: | If they want your code that bad ... |
..they rather write their own. |
|
|
Einly
Joined: 10 Sep 2003 Posts: 60
|
??? |
Posted: Tue Feb 15, 2005 11:26 am |
|
|
If they can read/load my 'garbage codes' means they can then
copy it all into a new PIC. And thus they can manufacture the
same product without passing through my copyright, correct?
Thanks! ;-) _________________ Einly |
|
|
bluetooth
Joined: 08 Jan 2005 Posts: 74
|
|
Posted: Tue Feb 15, 2005 12:59 pm |
|
|
Einly:
Give it a try. Let us know what happens!
|
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Tue Feb 15, 2005 1:22 pm |
|
|
NO, you cannot read code protected info ("garbage") from one chip, move it to another chip and expect it to work. Thats why they call it CODE PROTECT and IT DOES PROTECT THE CODE!
These type of questions should be asked on the Microchip site, not here. This is a CCS compiler site not a PIC hardware site.
Below is a link to the Microchiops site document that explains Code Protection.
http://ww1.microchip.com/downloads/en/DeviceDoc/config.pdf
Also you can go to the Microchip Forums for a lot more info. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Feb 15, 2005 9:29 pm |
|
|
dyeatman wrote: |
These type of questions should be asked on the Microchip site, not here. This is a CCS compiler site not a PIC hardware site.
|
Nope, they shouldn't be asked |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Tue Feb 15, 2005 9:31 pm |
|
|
Good point Mark! Some folks get dont seem to get it...
|
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Tue Feb 15, 2005 9:40 pm |
|
|
Maybe they just like to hear it over and over
Code Protect - setting this WILL PROTECT YOUR CODE
Code Protect - setting this WILL PROTECT YOUR CODE
Code Protect - setting this WILL PROTECT YOUR CODE
Code Protect - setting this WILL PROTECT YOUR CODE
Code Protect - setting this WILL PROTECT YOUR CODE
Code Protect - setting this WILL PROTECT YOUR CODE
Alright, 6 hours driving plus 9 hours working means its time to go to bed |
|
|
bluetooth
Joined: 08 Jan 2005 Posts: 74
|
|
Posted: Wed Feb 16, 2005 6:01 am |
|
|
If you guys don't knock it off we're never going to see the test result!
Back to reading datasheets..... |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Wed Feb 16, 2005 8:23 am |
|
|
Who needs a test result! I know it will "Code Protect" the device. |
|
|
bluetooth
Joined: 08 Jan 2005 Posts: 74
|
|
Posted: Wed Feb 16, 2005 8:28 am |
|
|
I think the original poster needs the test result! That was the whole point! |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Wed Feb 16, 2005 8:30 am |
|
|
The orginal poster doesn't seem to want to believe us. He is asking and then doubting the responses. In my opinion, there isn't a test. Just do it, that is what it is for |
|
|
bluetooth
Joined: 08 Jan 2005 Posts: 74
|
|
Posted: Wed Feb 16, 2005 8:39 am |
|
|
I've gotta go back to Humor U |
|
|
|