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.

TM4C1294NCPDT: Save Intellectual property

Part Number: TM4C1294NCPDT

Hi Folks,

I am using Tiva C series controllers (many parts, not only the selected one above). I read trough documentation, and I saw that there are registers to protect flash in read / execute only, etc mode, but afaik configuring the JTAG pins to GPIO also locks the CPU and unlocking ultimately delete the flash.

So my question is, which protection mechanism would be the most suitable to protect my source against unauthorized persons?

Regards,

Norbert

  • Hi Nobert,

    Please note that the device does not distinguish between Debugger or CPU when Flash protection is set. If you use the debugger to write then the flash programmer is required to read back what has been written to make sure that the correct programming has happened. By disallowing it you may end up making the application behave unpredictably.

    As you have investigated, by disabling JTAG altogether using BOOTCFG or by converting JTAG Pins to GPIO. This will block write (from JTAG) as well as read. The only way to get in is to erase the code externally, so a user would only end up getting erased device.