bobsun
Full Member level 2
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
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