SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
ICEMelter wakes up the JTAG power domain, which contains ICEPick and cJTAG modules and monitors the activities on the TCK pin. When ICEMelter detects traffic on the TCK pin (8 rising edges and 8 falling edges on TCK), it sends a power-up request to the AON_PMCTL that powers up the JTAG power domain. There is a time-out built into the device that will reset the ICEMelter if the window from the third rising edge to the eighth rising edge exceeds 4 ms. The debug probe must allow the JTAG power domain to have a proper power-up time of at least 200 µs before sending remaining commands to the JTAG interface.
TI recommends that care is taken to avoid unintentional traffic on the TCK pin. This can for example happen if the TCK pin is made accessible through a connector which is frequently connected and disconnected, or is located on a pin row that is touched during regular use. Unintentional traffic on the TCK pin can cause the ICEMelter to power up the JTAG domain, which will add approximately 400 µA to any device mode (including Standby), and also set the Halt In Boot (HIB) flag. The HIB flag will halt the device on the subsequent boot (such as after any system reset other than pin reset or POR, or when entering Shutdown). Exiting Halt In Boot, clearing the HIB flag, and disabling the JTAG domain can only be done by a pin reset, a POR, or by using the JTAG interface itself.
The TCK pin has an internal pullup designed to avoid unintentional traffic due to noise, but it will not be sufficient if there is risk of external activity on the TCK pin caused by unintentional touching or shorting of the pin. If it is not possible to prevent such activity from happening, it is recommended that a strong external pullup is used, or even shorting the pin to the supply voltage through a zero-ohm resistor. The size of the pullup or whether the pin is shorted to the supply voltage, will be a tradeoff between robustness against unintentional external activity and the need for an accessible debug port. If the TCK pin is disabled by shorting it to the supply voltage, Flash programming must be done using the bootloader.
It is possible to disable the input driver of the TCK pin by using AON_IOC:TCKCTL. Disabling the TCK pin impairs the debug sessions, so special care is required when disabling the TCK pin if the support for debugging the code is desired. Debugging a running target will not be possible if the TCK pin is disabled.