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.

IAR Embedded Workbench and 2-pin cJTAG for CC26XX

Other Parts Discussed in Thread: CC2640

I am using IAR Embedded Workbench as IDE for CC26XX.  Does IAR support 2-pin cJTAG?  I have both TI XDS100v3 SmartRF06 Eval Board and IAR I-JET, which can be used as debug probes.  How do I set them up with IAR to use 2-pin cJTAG?  Since my BLE board has limited space, I cannot add  a 10-pin JTAG header.

  • Hi,

    The IAR I-jet does only support 4-pin JTAG unfortunately.

    XDS100 supports cJTAG in IAR (by default and done correctly from v7.40.1) and you need to connect VDD/GND/TCK/TMS+RESET_N. In addition the target supply voltage needs to be connected to the VDD_SENSE on the debugger to allow the level shifters on the SmartRF06 to convert the signals correctly.

    Regards,
    Svend
  • Svend,

    I am trying to program a board I made using the XDS100v3 on the SartRF06 board but am having an issue. I am using the latest version of IAR and have the 5 appropriate connects. When I try to program, the voltages on the TCK, TMS, and RESET_N pins are not correct. I measure TMA 1.26V, TCK 0.220V, and RESET 1.53V. VDD_SENSE is connected to 3.3V.

    When testing the configuration with the CC2650EM, all values initialize to 3.3V.

    My thought is the level shifter is not working correctly, but am not positive on this.

    Any thoughts?

  • Also I get a Fatal Error message I thought could be important:

    Fatal error: Failed to connect to the XDS emulator (Connect ICEPick)...

    (Error - 181 0x0)
    The controller has detected a dead JTAG clock.
    The user must turn-on or connect the JTAG clock for the target.
    (Emulation package 5.1.641.0)
  • The level shifter uses VDD_SENSE to shift signal voltages.

    Have you checked you are connecting to the correct pins (TCK /TMS should be 3.3V when debugger is not connected I think) ? What is the current draw of your board with only the CC26XX on it? Did you connect the ground pad underneath the CC26XX (for the 7x7 package at least).

    .:svend
  • Svend,

    Found the issue and I was successfully able to program my personal PCB. My board operates with a 1.8V fixed supply and there was an incorrect trace connecting VDD_SENSE to 3.3V. Once I corrected this issue, I measure 1.8V +/- 10% on each of the pins. I was only concerned with cJTAG in this instance.

    Current draw is 20mA and I am using the 4x4 package with a connected ground pad.

    Thanks for the help.

  • Great to hear you got it solved. Current level sounds very high if only the CC2640 is on the board though ..

    Regards,
    Svend