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.

CCS/BOOSTXL-CC2650MA: Program/Debug the boosterpack using ICDI

Part Number: BOOSTXL-CC2650MA
Other Parts Discussed in Thread: CC2650, LAUNCHXL-CC2640R2, LAUNCHXL-CC2650

Tool/software: Code Composer Studio

Fellow engineers,

Is it possible to program/debug the CC2650 which resides on the BOOSTXL-CC2650MA boosterpack, using the ICDI that comes on the "debug" side of the EK-TM4C129XK Launchpad?
We normally do such, to program external targets of the TM4C family (using the same 10-pin arm default cable/connector).

I wouldn't expect a problem, but I left a boosterpack with my customer yesterday, and he says he is not being able to.

Thanks

Bruno

  • Hello Bruno,

    We have not tested the TM4C LaunchPad with the CC26xx as an external programmer. It does support ARM JTAG programming so it may work. If it doesn't work, I suggest using the LAUNCHXL-CC2650 or LAUNCHXL-CC2640R2 LaunchPad s the programmer. You can see the procedure in the Running Standalone Bluetooth® low energy Applications on CC2650 Module app note SWRA534.

    Best wishes
  • JXS,
    I've tried the ICDI myself, and in fact it did not work. I too expected "it may work", being ARM JTAG - and it would be nice to learn why not, and find some fix if available (reducing clock? disabling something?)
    I have an XDS200 (my "official" workhorse) - unfortunately it decided to not connect to anything today... So I'll post back when something works.
    Cheers
    Bruno
  • Hello again...

    Got my XDS200 back to life - just needed to restart the PC. It is now properly connecting/debugging my other boards (mostly TM4C12x).
    Unfortunately, XDS200 also does not work with the BOOSTXL-CC2650MA... This is the error:

    Error connecting to the target:
    (Error -275 @ 0x0)
    The attempt to poll a target device exceeded its timeout limit.
    The utility or debugger has requested that a target device be
    repeatedly accessed for a specific data or status value.
    This has failed because the built-in limit for the maximum number
    of attempts when polling the JTAG scan-path has been exceeded.
    (Emulation package 6.0.504.4)

    Maybe it has been a long day, but I can't seem to find the schematics for the boosterpack. File swru486a.pdf shows nothing but a "picture". There are a few jumpers labeled "reset sources", and I could not find docs on that - I wonder if that's related?

    Regards

    Bruno
  • Hi Bruno,

    If you are trying to program the BOOSTXL-CC2650MA standalone, you must add a pull-up on the reset line unless the debugger actively drives reset high.

    Cheers,
    Fredrik
  • Good day Fredrik, thanks for the input.

    Yes, I was trying to program the boosterpack alone. The pull up resistor did the trick, here's a picture.

    Image: programming BOOSTXL-CC2650MA with a Spectrum Digital USB XDS200 probe. Works fine with a pull-up resistor.

    Now, back to the original question, is it really impossible to use the ICDI for that MCU?

    I tried again with the pull-up, but still the response is "GEL: Cortex_M3_0: GEL Output: Error: Unknown debugger.". And because pictures usually don't hurt, here's one to illustrate the attempt.

    Image: programming BOOSTXL-CC2650MA with an ICDI debugger - no success.

    Cheers

    Bruno

  • Hi Bruno,

    I do not know ICDI, but unless it is (c)JTAG in disguise we do not support it. The MSP432- and CC13xx and CC26xx LaunchPads all have built-in XDS110 debuggers which supports the same devices.

    Cheers,
    Fredrik
  • Fredrik,
    Maybe you can ask one of your colleagues to check that out? There is quite an ecosystem of TI's TM4C launchpads out there with such thing called ICDI - and before this issue, I have always been able to program/debug any of my projects via JTAG port seamlessly using either these guys or probes like XDS100v2 or XDS200. Just to be clear, I am talking about the debug interface that comes on TM4C129XL launchpad.
    I do have MSP432 boards available as well, but the unfortunate fact that ICDI did not work for this boosterpack has delayed my co-worker (290Km from here) for I was "smart enough to leave him with the TM4C boosterpack last time I visited..."
    Thanks
    Bruno
  • Hi Bruno,

    As far as I can tell ICDC is a proprietary (non-JTAG) solution that only is supported on TM4C.

    Cheers,
    Fredrik
  • Hi Freddy,

    I discussed this further, and this is a statement from a colleague, just to clear things:

    "The ICDI is proprietary for sure, but it is a JTAG solution. The drivers that are written for the ICDI recognize TM4C devices only."

    Regards

    Bruno
  • Thanks Bruno, that confirms my what I suspected.

    Regards,
    Fredrik
  • Hi could you explain me what software you used to flash into cc2650 booster pack?
    I have the exact same setup and I have been trying to flash empty project from sensor controller studio but I have not had any luck.
    Regards,
    Eunsun
  • Hello Eunsun,
    Sure! We used SmartRF Flash Programmer 2.
    Link is: www.ti.com/.../flash-programmer
    You can also install the complete CCS (Code Composer Studio), which will allow you to debug the program, make modifications, etc.
    Bruno