Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] How to protect code on FLASH?

Status
Not open for further replies.

bobsun

Full Member level 2
Joined
Mar 5, 2011
Messages
120
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,239
Hi,

I would like to ask a question on code security.

Normally, bode are stored on external non-volatile memory such as FLASH, and upon reset a bootloader in CPU ROM will retrieve a small number of instructions from the external memory and execute them, which would then bootstrapping to upload the remaining code into the main memory.

However, this way of storing code on external memory, such as FLASH, is obviously NOT secure. Anyone with a flash reader could read the binary code, and could later either compromising code authenticity by modifying and rewriting the code, or simply steal the code.

What is the common approach to protect against this? How many solutions there are? Could anyone recommend some?



Bob
 

There may be somekind of encryption done so that others can not re-produce. Not sure if its a common practice.
 
  • Like
Reactions: bobsun

    bobsun

    Points: 2
    Helpful Answer Positive Rating
chituri,

Do you mean by software, not a dedicated encryption chip/device? Could you elaborate more on the "encryption" method?

Bob
 

Chitturi,

Thanks, I will read that.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top