This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好,我们的产品使用了2806x系列芯片,在量产前需要做程序加密,防止逆向工程被破解。
请问有什么合理有效的方案。
你好 一般是这样 你找到一个叫做 F2806x_CSMPasswords.asm的文件添加到你的工程中 在这个工程里有几处代码如下:
.sect "csmpasswds"
.int 0xFFFF ;PWL0 (LSW of 128-bit password)
.int 0xFFFF ;PWL1
.int 0xFFFF ;PWL2
.int 0xFFFF ;PWL3
.int 0xFFFF ;PWL4
.int 0xFFFF ;PWL5
.int 0xFFFF ;PWL6
.int 0xFFFF ;PWL7 (MSW of 128-bit password)
这个地方就是你设置密码的地方,你设置好密码然后编译 烧录后,如果需要第二次烧录或者别人想破解你的程序就需要在flash界面输入你的密码 否则是行不通的
128bit的密码破解我觉得暴力破解的可能性不大。当然还有一种方法,你把所有密码设置成0,芯片锁死,那样芯片只能烧录一次,以后你想升级什么的就彻底不可能了