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.

TM4c1233h6怎么保护芯片,为了防止别人偷取我的代码

TM4c1233h6怎么保护芯片,为了防止别人偷取我的代码,有什么好的方法吗

  • 高级加密标准 (AES) 密码表
    AES 是一种强大的加密方法,拥有不错的性能和大小。AES 在硬件和软件方面都很快,它非常容易使用,并且只需要很少的存储空间。AES 可理想的用于预先排列好密钥的应用,如在加工或配置过程中的设置好。XySSL AES 使用的4个数据表都在ROM中提供。第一个是正向的S-box代换表,第二个是反向的S-box代换表,第三个是正向的多项式表,最后一个是反向的多项式表。

    你可以看看ROM的这个特性。还可以利用软件加密的办法配合,TI的芯片本身这个系列应用的就不多,别人破解也是需要成本的。
  • 你好,有没有类似:如果外部读取芯片二进制文件时,就自动销毁芯片上的内容。这种操作呢
  • 想办法把jtag接口锁住!

  • 这种没搞过,我想芯片是没有这种智能的,及时更新自己的产品保持优势才是王道,看你产品应用的场合,不然别人直接仿造你的功能就好了,重新写程序也比这个成本低。
  • 你把JTAG口用作普通IO就好了,用其他接口进行升级和下载。

  • There are 2 main methods of protecting code in TM4C12x devices

    1. Configure the JTAG Pins as GPIO by application code
    PRO: Software controlled and can use a switch button press to move back to JTAG mode for debug
    CON: Finite time for which JTAG will be open


    2. Configure the bits 1:0 of BOOTCFG register to 0x0 and commit the BOOTCFG register.
    PRO: The device shall remain locked from start
    CON: Cannot be overridden in software for JTAG open.

    Besides the same the FMPPE and FMPRE also offer some level of code protection like Execute Only preventing a read of the code amongst other options

    您可以看一下 

    寄存器 30: Flash 存储器保护读取启用寄存器 0(FMPRE0),偏移量 0x130 和 0x200

    寄存器 31: Flash 存储器保护读取启用寄存器 1(FMPRE1),偏移量 0x204

    寄存器 32: Flash 存储器保护读取启用寄存器 2(FMPRE2),偏移量 0x208

    寄存器 33: Flash 存储器保护读取启用寄存器 3(FMPRE3),偏移量 0x20C