Protect the code


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    30

    Default Protect the code

    Hi all!

    Do you know if there's a way to protect the code from being read, and duped?
    It's safe?

    EDIT:
    I've found my answers, it's just setting the CP bit on, but, it's REALLY safe?

    Luca
    Last edited by oslinux; - 2nd April 2007 at 19:08.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    100% safe ... NO.

    The program can be retrieved. But it takes some extremely knowledgable people to do it. There are even some places that will do it for you for about $5000. The reputable ones require a statement in writing that you are the original owner of the program (but that's just for their protection, not yours).

    Some of the really old chips like 12C and some 16C are much easier, and can be done cheaper.
    <br>
    DT

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    (Copy Protection in Modern Microcontrollers).

    See this link:
    http://www.cl.cam.ac.uk/~sps32/mcu_lock.html

    The latest paper on this subject:
    http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-630.html

    Semi-invasive attacks – A new approach to hardware security analysis
    Sergei P. Skorobogatov
    April 2005, 144 pages
    http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-630.pdf

    Best regards,

    Luciano

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Here's some nasty little devices that can just read the protected chips without destroying them.

    http://www.semiresearch.com/index.php?-1226852084
    http://www.semiresearch.com/index.php?-89148003
    <br>
    DT

  5. #5


    Did you find this post helpful? Yes | No

    Default Bad, really bad news.

    I thought it was almost impossible, i had read about microscopic readings of the memory and stuff like that, but this are really bad news, it even isnt that expensive!!! if you consider you could charge 5000 for one copy like DARREL already said.

    So this piece of crap can copy 877A, is it safer to move to 18F?

    A little thought... "had someone bought this thing? maybe its microcontroller is a 877A and we can copy it just to f...k them!" JAJAJA.
    Last edited by Josuetas; - 2nd April 2007 at 23:52.

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking

    Hi,

    If you do not sleep at night ...

    you can also use the Writecode function , and destroy a part of the code ... if the circuit is out of its original board !!! Not too difficult to realize ...

    just a "concours Lépine" idea ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. F452 Code Protect
    By onur in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th August 2006, 09:18
  5. Setting Code Protect and Data Protect
    By Peter1960 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th March 2006, 00:35

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts