Author Topic: code protection for microprocessor  (Read 2204 times)

0 Members and 1 Guest are viewing this topic.

Offline jtronixTopic starter

  • Regular Contributor
  • *
  • Posts: 125
code protection for microprocessor
« on: April 14, 2016, 04:17:27 am »
In microprocessor it doesn't have internal memory for code but it stored on external flash which is non protected and anybody can copy. So how people are protect their processor based device ??

I have gone through cryptography but in cryptography it store key in external flash so it won't secure the device..

kindly advice
 

Offline Kilrah

  • Supporter
  • ****
  • Posts: 1852
  • Country: ch
Re: code protection for microprocessor
« Reply #1 on: April 14, 2016, 04:37:17 am »
You don't.

If you need to there are processors that are made specifically for this and have a small internal memory to put a key in as well as hardware modules to do the decryption transparently.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: code protection for microprocessor
« Reply #2 on: April 14, 2016, 04:37:54 am »
which is non protected and anybody can copy. So how people are protect their processor based device ??
That depends on your device. Most MCUs that can execute code from external interfaces support scrambling on those interfaces.
Alex
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3237
  • Country: gb
Re: code protection for microprocessor
« Reply #3 on: April 14, 2016, 07:42:34 am »
That depends on your device. Most MCUs that can execute code from external interfaces support scrambling on those interfaces.

Most?  I suspect those devices are in the minority.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: code protection for microprocessor
« Reply #4 on: April 14, 2016, 07:44:56 am »
Most?  I suspect those devices are in the minority.
Well, I don't have the stats, but my thinking is, manufacturer must be pretty dumb to release a product with no IP protection. Who would design such a thing into a real product?
Alex
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13741
  • Country: gb
    • Mike's Electric Stuff
Re: code protection for microprocessor
« Reply #5 on: April 14, 2016, 07:52:00 am »
Most?  I suspect those devices are in the minority.
Well, I don't have the stats, but my thinking is, manufacturer must be pretty dumb to release a product with no IP protection. Who would design such a thing into a real product?
Not every product is at risk from code copying - most standard MCUs can be unprotected for a few hundred dollars, so it doesn't offer protection from more than casual copying.
Microprocessors are pretty rare nowadays as pretty much everything from within the last couple of decades will have at leas some I/O and/or memory built in.
Back in the days when microprocessors were common, for those that did want some protection, it was common to use a GAL or other PLD to provide some level of protection, but again this was only good against fairly low-level attacks.
Another tactic that was used was to fill unused areas with "random" data or have hidden functionality to display a copyright message ( that was obfuscated in the ROM image), so if code was copied it was very easy to prove.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf