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.

EK-TM4C123GXL: Invalid target configuration

Part Number: EK-TM4C123GXL

Greetings,

I just received my EK-TM4C123GXL eval board and I was following along with the getting started video. CCS did not find my board right away but I pressed ahead. When I try to debug I get an invalid target configuration error. I wonder if the connection type is wrong, it defaults to the Stellaris ICDI. I selected a few others, saved, and tried to connect but no go. 

The board is running, doing its rainbow color pattern and there is a Stellaris virtual serial port on Com3.

Suggestions appreciated.

John

  • Hi John,

      How did you create the target configuration? I will suggest you try to import a simple project like the blinky first. The TivaWare examples all come with the target configuration file. You don't really need to create one yourself. 

     1. In CCS, Select File -> Import

      

     2. Select CCS Projects

     3. Provide the path to the project using the browse button. The blinky project for TM4C123 is in C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\blinky. Once the project is selected hit "Finish".

    4. You should now see the blinky project in the Project Explorer. Click the "Debug button" will compile the project and use the default target configuration that is in the blinky project folder to connect to the MCU and then load the program image to the flash memory. Once this is done, you are ready to run the program by clicking the run run button. 

    If you expand the blinky project you should see the target_config.ccxml. This will be the target configuration that CCS will look for. Of course, you can create your own which will be the same as this one. You can double click on target_config.ccxml to see if the one you created is the same as what is provided. 

     Just a heads-up, I will be on vacation until next Tuesday. I will not be able to answer to existing post questions until next Wednesday. However, my colleague will respond to new posts next Monday. 

  • Thanks for the note. I did import blinky but I tried to do it like the tutorial. CCS could not find my board when I connected it so I supplied the kit name and selected from a menu. I will certainly retry using your method as the video must be out of date as it did not match well with what I was seeing. I was just thinking it would be a fool proof way to get started, but some of us fools are quite easily fooled. :) 

    Thanks,

    John

  • Hey Charles,

    Thanks for the excellent instructions. That worked but I saw no difference in the config file. We are definitely blinking green now. Any idea what project is used to create that rainbow LED effect?

  • Hi John,

      That is the C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\qs-rgb example.