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/EK-TM4C123GXL: Can't compile and debug any example for TM4C123GXL in CCS7

Part Number: EK-TM4C123GXL
Other Parts Discussed in Thread: TM4C123GH6PM, CC1310

Tool/software: Code Composer Studio

Hello ,

I use Code Composer Studion 7.4.0.00015 .

I bought evaluation board EK-TM4C123GXL to do the trainings labs about TI-RTOS here:

https://training.ti.com/ti-rtos-workshop-series

(I hope that are the good training videos because they are quite old).

Well,  I used Ressource Explorer in CCS to install TI-RTOS Tiva-C and import  "qs-rgb" project as it is suggested in the Let's get Stared "out of box demo instruction" .

The problem is that the target_config.ccxml has an error:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="Stellaris In-Circuit Debug Interface_0">
    <instance XML_version="1.2" desc="Stellaris In-Circuit Debug Interface_0" href="connections/Stellaris_ICDI_Connection.xml" id="Stellaris In-Circuit Debug Interface_0" xml="Stellaris_ICDI_Connection.xml" xmlpath="connections"/>
    <connection XML_version="1.2" id="Stellaris In-Circuit Debug Interface_0">
      <instance XML_version="1.2" href="drivers/stellaris_cs_dap.xml" id="drivers" xml="stellaris_cs_dap.xml" xmlpath="drivers"/>
      <instance XML_version="1.2" href="drivers/stellaris_cortex_m4.xml" id="drivers" xml="stellaris_cortex_m4.xml" xmlpath="drivers"/>
      <platform XML_version="1.2" id="platform_0">
        <instance XML_version="1.2" desc="Stellaris TM4C123GH6PM_0" href="devices/tm4c123gh6pm.xml" id="Stellaris TM4C123GH6PM_0" xml="tm4c123gh6pm.xml" xmlpath="devices"/>
      </platform>
    </connection>
  </configuration>
</configurations>

and in qs-rgb properties , in General I've got this message:

"Device 'Cortex M.TM4C123GH6PM' is not reco... closest match from the supported devices."

when I try to debug I've got this message:

"Target configuration, target_config.ccxml, does not have a valid setup, please configure the target and try again."

when I try to compile :

Buildfile generation error occurred..
This project was created for a device not currently supported - Cortex M.TM4C123GH6PM:
- See 'Help > Check for Updates' to check if support for this device is available through a CCS update.
- Visit CCS App Center to get the latest device support.
- Check if you have installed support for the corresponding MCU/processor platform.
- Migrate the project to closest matching supported device by adjusting project properties.
- Or contact TI for support if using experimental silicon.
Build stopped..

I tried to change Variant to generic CortexM4, but it finished with an error when compiling.

Maybe I forgot to install something else?

if someone has a clue or know how I should configure the project and ccxml file?

Regards.

  • Hi,

     Which TivaWare version are you using? Please install the latest TivaWare library from . Once installed, you can import the qs-rgb example from <TivaWare_Installation>/examples/boards/ek-tm4c123gxl/qs-rgb. The example comes with the target configuration.

    If you want to create your own target configuration like below.

    1. Go to File->New->Target Configuration File.

    2. See below diagram.

  • Hello, I use the  TivaWare installed with ressource explorer directly in CCS7 TivaWare_C_Series-2.1.3.156 .
    When I try to create a new Taget Configuration File, I don't have Stellaris In-Circuit Debug Interface in the connection menu.

    I'll try to install the new one manually and tell you if it works.

    Thanks

  • Hi again,
    I installed TivaWare version 2.1.4.178 .
    First it doesn't appear in "Ressource Explorer", I still only have v:2.1.3.156.
    I imported it from "TI Ressource Explorer.
    But I still dont have any "Stellaris In-Circuit Debug Interface" suggested in the connection menu when I try to create a new target file. I only have :
    "Data Snapshot viewer"
    "Texas Instrument XDS ****"
    ***
    "UART Connection"

    Here are the files I've got connections directory:

    And for information, in the device manager:



    When I try to compile, the error messages I've got is:
    "File connections/Stellaris_ICDI_Connection.xml does not exist."
    "This project was created for a device not currently supported - Cortex M.TM4C123GH6PM. See 'Help > Check for Updates' to check if support for this device is available through a CCS update."

    Obviously I tried to do Help > Check for Updates' but it didn't found and changed anything.

  • Hello again,

    I uninstalled everything, and installed CCS v8 with Stellaris In-Circuit Debug Interface checked at installation and it works. That said, I had to recreate another Target file (I don't know why), but it works well now. EDIT: taget_config.ccxml need to be set as "Active/Default" because it is not set automaticaly during import.

    In my previous install I didn't installed the Stellaris In-Circuit Debug Interface at installation because I used only XDS100 from CC1310 launchpad board. Maybe there is a good way to install new probe on an "old" installation, but I didn't found how to do this without uninstall CCS and install it again.

  • Glad your problem is solved.
  • Thank you,

    I'll put it as resolved.

    Maybe it will help other peoples.

    Kind regards.

  • Your earlier post (Mar 28, 07:06) is the one which (properly) should be marked as, "This Resolved my Issue."
    Within that post you described - w/nice detail - "just how" you (finally) were able to succeed.   That's the post which should be marked, "Resolved."
    Today's post (29 Mar) simply  "confirms your success" - but offers NONE of your successful resolution (ideas/methods) to others...

  • My mistake, thank you very much for the clarification, I'll update this. 

    EDIT: I don't find how to cancel, the first "resolved", but I marked the good one.