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.

TIVA new Device Descriptors for CCSV5

Other Parts Discussed in Thread: TM4C129XNCZAD

I have just got my development kit for Tiva C Series processor.

I updated my CCSV5 to the latest versions so now show no new updates.

I installed the latest TivaWare software.

Then I imported the Tivaware examples, however when I try to build a project I get the following error:

Buildfile generation error occurred..

This project was created for a device that is not currently recognized: Cortex M.TM4C129XNCZAD. Please install the device descriptor, or migrate the project to the closest match from the supported devices by adjusting project properties.

Build stopped..

How do I add the new device descriptors?

I found one entry in the forum which mentions somthing like this but it has broken links.

  • Hello Barry,

    Which project are you trying to build?

    Regards,

    -c

  • I am trying to compile the grlib_demo but it doesn't matter which one they all give the same error.

    I imported the example projects from the TivaWare Examples directory.

    Originally I was using CCSV5.4

    I next did a complete install of CCSV5.5 and it shows me the same problem.

    All of the imported projects from the tivaware examples show the same errors,

    File devices/tm4c129xnczad.xml does not exist.  Was included by file C:/Data/projects/CCS_V5_Workspace/grlib_demo/target_config.ccxml target_config.ccxml

    This project was created for a device that is not currently recognized: Cortex M.TM4C129XNCZAD. Please install the device descriptor, or migrate the project to the closest match from the supported devices by adjusting project properties.

    I have installed latest CCS, downloaded ALL the updates and yet it still doesn't know about the device, how is that possible, very frustrating!

  • Further update

    I ensured all updates were downloaded for CCS V5.5 and attempted a build. Got the following errors:


    #10056 symbol "ResetISR" redefined: first defined in "./tm4c129xnczad_startup_ccs.obj"; redefined in "./startup_ccs.obj" grlib_demo

    File devices/tm4c129xnczad.xml does not exist.  Was included by file C:/Data/projects/CCS_V5_Workspace/grlib_demo/target_config.ccxml target_config.ccxml /grlib_demo line 0 

    #10010 errors encountered during linking; "grlib_demo.out" not built grlib_demo    C/C++ Problem

    #10056 symbol "g_pfnVectors" redefined: first defined in "./tm4c129xnczad_startup_ccs.obj"; redefined in "./startup_ccs.obj" grlib_demo 

  • More Information

    Previously I had TivaWare_C_Series-2.0.1.11577 installed and would not compile.

    I have now installed TivaWare_C_Series-2.0 from the USB from the Devkit.

    The example glib_demo from this compiles and runs on the dev kit.

    Then went back to the 2.0.1.11577 example.  This now also compiles and runs.

    It looks like there is an error with the installer for TivaWare_C_Series-2.0.1.11577 in that it doesn't add the new Tiva devices if they are not already in the compiler.

  • Hello Barry,

    I just installed with the CCS version available here:

    http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5

    and the XML files were installed.  Did you do a custom install and were the Tiva parts selected?  

    Regards,

    -c

  • I can confirm this as well. I'm running v5.5 on linux using TivaWare_C_Series-2.0.1.11577 and I'm getting 

    error #10056: symbol "ResetISR" redefined: first defined in "./tm4c129xnczad_startup_ccs.obj"; redefined in "./startup_ccs.obj"

    error #10056: symbol "g_pfnVectors" redefined: first defined in "./tm4c129xnczad_startup_ccs.obj"; redefined in "./startup_ccs.obj"

    linker errors as well as 

    undefined first referenced
    symbol in file
    --------- ----------------
    FrameDraw ./grlib_demo.obj
    Kentec320x240x16_SSD2119Init ./grlib_demo.obj
    PinoutSet ./grlib_demo.obj
    SoundInit ./grlib_demo.obj
    SoundIntHandler ./startup_ccs.obj
    SoundStart ./grlib_demo.obj
    SoundVolumeSet ./grlib_demo.obj
    TouchScreenCallbackSet ./grlib_demo.obj
    TouchScreenInit ./grlib_demo.obj
    TouchScreenIntHandler ./startup_ccs.obj
    g_sKentec320x240x16_SSD2119 ./grlib_demo.obj
    sine ./grlib_demo.obj
    usprintf ./grlib_demo.obj

    I'll check out the tivaware from the usb key tonight. 

  • OK, here's a little more on this. Still using TivaWare_C_Series-2.0.1.11577 on linux ccs v5.5. 

    In a fresh workspace, I import blinky from examples/boards/dk-tm4c129x/blinky/, rebuilding I get this warning.

    This project was created using a version of compiler that is not currently installed: 5.0.4 [ARM]. Another version of the compiler will be used during build: 5.1.1. Please install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties.

    but blink.out gets created.

    Then I change properties->general->advanced settings->compiler version to 5.1.1

    rebuild

    now I get linker errors

    Building target: blinky.out
    Invoking: ARM Linker
    "/opt/ti5.5/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual -z -m"blinky_ccs.map" --heap_size=0 --stack_size=256 -i"/opt/ti5.5/ccsv5/tools/compiler/arm_5.1.1/lib" -i"/opt/ti5.5/ccsv5/tools/compiler/arm_5.1.1/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="blinky_linkInfo.xml" --rom_model -o "blinky.out" "./tm4c129xnczad_startup_ccs.obj" "./startup_ccs.obj" "./blinky.obj" "../blinky_ccs.cmd" -l"libc.a"
    <Linking>
    error #10056: symbol "ResetISR" redefined: first defined in "./tm4c129xnczad_startup_ccs.obj"; redefined in "./startup_ccs.obj"
    error #10056: symbol "g_pfnVectors" redefined: first defined in "./tm4c129xnczad_startup_ccs.obj"; redefined in "./startup_ccs.obj"
    error #10010: errors encountered during linking; "blinky.out" not built

    Any ideas out there on this?

    I see that changing the compiler to 5.1.1 added tm4c129xnczad_startup_ccs.c to my project but left startup_ccs.c. Now it links.

  • I see that changing the compiler to 5.1.1 added tm4c129xnczad_startup_ccs.c to my project but left startup_ccs.c. Now it links.

     

    sorry if I'm blathering on.

  • Craig Hollabaugh said:
    I see that changing the compiler to 5.1.1 added tm4c129xnczad_startup_ccs.c to my project but left startup_ccs.c.

    I noticed the same problem when trying to help on the #10010 and #10056 erorrs in ALL example programs thread on the CCS forum. I made the suggestion that CCS is wrong to add the device specific startup_ccs.c to an existing project when the compiler version is changed.

  • Based on new install of CCSv5.5.0.00077 and TivaWare 2.0.1.11577, I also got the problem of missing tm4c129xnczad.xml, when compiling the blinky demo.

    Both the CCS and the TivaWare are fresh downloads. The TIva C-series was selected during installation of the CCS.

    Any ideas how to solve ?