TM4c1233h6怎么保护芯片,为了防止别人偷取我的代码,有什么好的方法吗
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怎么保护芯片,为了防止别人偷取我的代码,有什么好的方法吗
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