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.

CC2652P: Disabling JTAG

Part Number: CC2652P
Other Parts Discussed in Thread: SYSCONFIG,

Hello!

I am working on zigbee coordinator and would like to completly disable JTAG.

https://github.com/Koenkk/Z-Stack-firmware/blob/7398d834eb3a790876c280293c4181da96cc7114/coordinator/Z-Stack_3.x.0/COMPILE.md

I have set following registers to 0x00

SET_CCFG_CCFG_TAP_DAP_0_PWRPROF_TAP_ENABLE
SET_CCFG_CCFG_TAP_DAP_0_TEST_TAP_ENABLE
SET_CCFG_CCFG_TAP_DAP_0_CPU_DAP_ENABLE
SET_CCFG_CCFG_TAP_DAP_1_AON_TAP_ENABLE
SET_CCFG_CCFG_TAP_DAP_1_PBIST1_TAP_ENABLE
SET_CCFG_CCFG_TAP_DAP_1_PBIST2_TAP_ENABLE

Compiled code and uploaded to my device. I am using j-link programmer.

I figured out that it is not possible to read the chip data. But I still can connect using j-link.

I would like to ask - is it possible to completely lock the JTAG (so it would be impossible to even connect to JTAG) ?

Regards,

Roman.

  • Hello Roman,

    I have set following registers to 0x00

    How have you applied these CCFG changes to your project?  They should be configured using the SysConfig -> Device Configuration -> Debug Access module

    I figured out that it is not possible to read the chip data. But I still can connect using j-link.

    Do you mean that J-Link is still able to program the CC2652P?  Note that SET_CCFG_ERASE_CONF_CHIP_ERASE_DIS_N is likely still enabled to allow for Forced Mass Erase.  It can be determined by the project but is not a configurable option through SysConfig.  Thus it is still possible for J-Link to access by forcing a mass erase or using the ROM serial bootloader (if enabled).  You can find more information in these relevant E2E threads and Chapter 11 (CCFG) of SWCU185.

    Regards,
    Ryan