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/TIDA-00489: How to flash via JTAG

Part Number: TIDA-00489
Other Parts Discussed in Thread: CC1310

Tool/software: Code Composer Studio

Hello everybody,

I am awaiting some TIDA-00489 modules and I only have a cc1310 launchpad + a mini JTAG cable. I want to flash the code from CCS via the launchpad and the JTAG cable onto the TIDA devices.

Can you explain to me or give me a link for instructions on how to flash the TIDA module via JTAG? I mean what settings are necessary in the CCS program?!

kind regards

Stefan

  • Stefan,

    It is possible to use the CC1310 Launchpad to flash your custom board.

    For hardware, please make sure that you configure the board, so that the JTAG signal only goes to your custom board and not to the Launchpad's CC1310. That will require using the correct JTAG connector and removing the jumpers.

    For software/CCS, you'll want to look at the target configuration (CCS > Project Explorer > TIDA-00489_Firmware > targetConfigs). Double click on CC1310F128.ccxml and it will open the general setup. If using the Launchpad, the connection will be Texas Instruments XDS110 USB Debug Probe. Also, make sure that CC1310F128 is checked. Then, save the configuration. The next time you debug or press the bug icon, it will use this target configuration to find the appropriate JTAG.

    --Christina
  • Hey Christina,

    thanks for your reply.

    Regarding the hardware. On the launchpad I would use the XDS110 Out and I guess the relevant jumper is the one right next to it "XDS110 Power". On the TIDA side, there is only one JTAG header, though I have to check which PIN is Vcc I guess and connect it with the "red cable" of the JTAG cable. And the launchpad is connected via USB to my laptop. Is there a jumper on the TIDA I have to position correctly?!

    I probably can get access to a second cc1310 launchpad and connect XDS110 Out to CC1310 In. Can I flash one board via the other launchpad using JTAG for testing purpose?

    The picture below shows the target config, is it correct? And I guess it doesnt matter if I use the "bug" or "flash" button to flash the programm on my TIDA?:

    thanks for your help.

    kind regards

    Stefan

  • Stefan,

    For the TIDA, there is no additional configuration needed.

    For the Launchpad, I would recommend looking at the CC1310 schematic.  It can be downloaded from http://www.ti.com/tool/LAUNCHXL-CC1310 using the LAUNCHXL-CC1310 Design Files link. 

    Once downloaded, please see page 3 for the XDS110 debugger.  Read the note for P10 on how to select the voltage source for the level shifters.  Since I assume that you will be powering the TIDA from a separate power source, you'll select the option "powering CC1310 from the external supply", which require the jumper to be between pins 2 and 3 on P10.  Also, see the note for P7, since you will be debugging external target (which will be your TID in this case) using the Launchpad's XDS110.

    Your target config looks correct.  

    --Christina

  • Hey Christina,

    thank you again. I guess in the target_config xxml file I have to set under advanced: "Debug Probe Selection" to "Only one XDS110 installed", am I right?

    I am forwarding your information to my colleague since I am out of work right now.

    kind regards

    Stefan

  • Stefan,

    No additional changes (or changes to the advanced settings) needed to the target configuration. If you connect only one Launchpad to your laptop, then it will auto detected the XDS110.

    --Christina
  • I wanted to note, that it worked! Depending on the fact if the TIDA has already a battery inside you have to set the jumper 7 (i guess) to "Extern Pwr" or if it has no battery, to "XDS100 Power".

  • Stefan,

    Glad it worked!  Thank you for letting us know.

    --Christina