Forum Update - Announcement about May 10th, 2018 update and your password.

How did P2 Code Protection end up ?

I must admit I haven't been following the P2 closely, and I don't want to start a whole discussion.
But how was the P2 Code Protection left ? I remember something about the fuses not being reliable.
If it was removed, so be it. I am not advocating any change. I just need to make plans for our future products.

Thanks,
Bean
logo.png?91518163160380889
Esterline Research & Design
thitt@esterlineresearch.com

We offer consulting on the following areas of expertise:
Frequency Control - Micro-Controller/Processor Projects
Test and Automation - General Programming and Coding
Circuit Design - Board Layouts

Comments

  • 9 Comments sorted by Date Added Votes
  • I believe it has been left out, due to the reliability of the fuses.
    Feel the need for speed between your PC's com port and Prop?
    Try the FTDI 245 and the FullDuplexParallel Object.

    Check out my spin driver for the Parallax "96 x 64 Color OLED Display Module" Product ID: 28087
  • Bean wrote: »
    I must admit I haven't been following the P2 closely, and I don't want to start a whole discussion.
    But how was the P2 Code Protection left ? I remember something about the fuses not being reliable.
    If it was removed, so be it. I am not advocating any change. I just need to make plans for our future products.

    Thanks,
    Bean
    Code protection is gone. All code for the P2 should be open source anyway. :-)
  • BeanBean Posts: 7,839
    Thanks for the info...

    Bean
    logo.png?91518163160380889
    Esterline Research & Design
    thitt@esterlineresearch.com

    We offer consulting on the following areas of expertise:
    Frequency Control - Micro-Controller/Processor Projects
    Test and Automation - General Programming and Coding
    Circuit Design - Board Layouts
  • All code for the P2 should be open source anyway. :-)

    I am uncertain whether you said that in jest, but just imagine how many customers Parallax could have gained with the P2, if there was code protection.


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • idbruce wrote: »
    All code for the P2 should be open source anyway. :-)

    I am uncertain whether you said that in jest, but just imagine how many customers Parallax could have gained with the P2, if there was code protection.
    Yes, it was in jest. Notice the smiley face. On the other hand, I hope there is a lot of open source software written for the P2.

  • Yes, it was in jest. Notice the smiley face.

    Yes, I noticed the smiley face, but I was still uncertain :)
    On the other hand, I hope there is a lot of open source software written for the P2.

    Hopefully we will end up with an over abundance of open source code and examples, otherwise P2 sales may suffer.


    Novel Solutions - http://www.novelsolutionsonline.com/ - Machinery Design • - • Product Development
    "Necessity is the mother of invention." - Author unknown.

  • jmgjmg Posts: 11,255
    Bean wrote: »
    ... I remember something about the fuses not being reliable.
    If it was removed, so be it. I am not advocating any change. I just need to make plans for our future products.

    Yes, fuses are removed.
    There is a Serial boot mode, so I'd expect small MCUs to be used for some 'better security' cases.
    Those can include dongle-like token exchange that increases the hacking effort needed.

    What level of security do you need in your future products ?

  • BeanBean Posts: 7,839
    edited May 16 Vote Up0Vote Down
    Right now I'd be happy if they just couldn't simply clone the EEPROM.
    Our main concern is duplication of the product, not obfuscation of the code.

    Bean
    logo.png?91518163160380889
    Esterline Research & Design
    thitt@esterlineresearch.com

    We offer consulting on the following areas of expertise:
    Frequency Control - Micro-Controller/Processor Projects
    Test and Automation - General Programming and Coding
    Circuit Design - Board Layouts
  • jmgjmg Posts: 11,255
    Bean wrote: »
    Right now I'd be happy if they just couldn't simply clone the EEPROM.
    Our main concern is duplication of the product, not obfuscation of the code.
    That's a fairly common concern :)
    A small MCU could be used as a key/dongle, or you might be able to use Serial Flash with features like these ?
    Advanced Security Features (Winbond)
    – 64-Bit Unique ID for each device
    – 3X256-Bytes Security Registers
    – Volatile & Non-volatile Status Register Bits
    – Special OTP protection
    – Top/Bottom, Complement array protection
    – Individual Block/Sector array protection
    – Discoverable Parameters (SFDP) Register
    – Software and Hardware Write-Protect
    


    One example could be FM25Q08A at 16c/100

    With a 64 bit unique ID, you could recompile code with that burnt in (more secure, but more admin), or have a valid-list it checks.
    The OTP 256 byte areas also broaden your security scope, as running code can index into that, increasing the hacking effort some more...
Sign In or Register to comment.