程序加密

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

程序加密

499 Views
xwj
Contributor II

通过hiwave.exe下载到S9S12G64程序,有没有加密设置,也就是说下载程序后,别人无法读出程序。

或是有没有寄存器设置,可以实现禁止从FLASH中读出下载好的程序。

Labels (1)
0 Kudos
1 Reply

424 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

To prevent the code being removed from circuit, we need secure flash when we program it. To secure the flash,  we need set Flash Security Register (FSEC).

Please search reference manual with keyword "FSEC"

If you want to secure it with back door key(thus ctm can not see the code but worker still can see the code with backdoor key), the attached document and its related code will be helpful. The example code is for MC9S12DP256, but the method and theory is the same to other HCS12 family MCUs.

http://cache.nxp.com/files/microcontrollers/doc/app_note/AN2880.pdf

software for AN2880 

Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos