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.

TM4C123GXL Project0 Startup Probs

Other Parts Discussed in Thread: TM4C123GH6PM, EK-TM4C123GXL

I'm using 1.0 Tivaware and CCS 5.4.0.00091.

I've followed the instructions in spmu132b to experiment with the example projects, but all target_config.ccxml files have a red X, and when I build a project I get 2 errors.

- Error- project was created for a device that is not currently recognized LMF120H5QR.

True enough the device is a LMF120H5QR, but there are only generic cores to select, no devives.

- Error- File connections/Stellaris_ICDI_Connection.xml does not exist

Anybody know what I need to do to get going?

thanks

  • mac thomson said:
    True enough the device is a LMF120H5QR

    While (perhaps) "True" - surely not, "True Enough!"

    Might LM4F120H5QR improve results?

  • Hi Mac,

    Have you installed the Stellaris ICDI drivers? They can be found here.

    Regards,

    Sam

  • mac thomson said:

    - Error- project was created for a device that is not currently recognized LMF120H5QR.

    @Sam,

    Might this error be outside ICDI issue?

  • Indeed your eyes are sharper than mine, I did not catch the missing 4 :) Whether that is the issue or a simple copy/paste typo remains to be seen...

    "- Error- File connections/Stellaris_ICDI_Connection.xml does not exist" contained no such typo, pointing to a larger issue.

    Time will tell!

  • My eyes sharper?  Doubtful.  (German Shepherd "pal" & ravages of time argue against...)

    Indeed - likely typo - but "some" attention to detail IS required - and as that was flagged as ERROR... 

  • I'm 60 years old, dropping a 4 in a long string is the least my worldly worries, my apologies.

    I hadn't installed the drivers, I have performed that operation now.

    The build goes a lot farther now, but I still have one Error.

    Description Resource Path Location Type
    File connections/Stellaris_ICDI_Connection.xml does not exist. Was included by file C:/Users/Mac/workspace_v5_4/hello/target_config.ccxml target_config.ccxml /hello line 0 Problem

    thanks

    Mac

  • Hi Mac,

    What operating system are you using?

    Sam

  • Windows 7 Home Premium.

    Here is the content of the target_config.ccxml file

    <?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 LM4F120H5QR_0" href="devices/lm4f120h5qr.xml" id="Stellaris LM4F120H5QR_0" xml="lm4f120h5qr.xml" xmlpath="devices"/>
    </platform>
    </connection>
    </configuration>
    </configurations>

    thanks

    Mac

  • Hi Mac,

    Try creating a new file called Stellaris_ICDI_Connection.xml in C:\ti\ccsv5\ccs_base\common\targetdb\connections. Put the following into it:

    <?xml version="1.0"?>
    <connection id="Stellaris In-Circuit Debug Interface" class="31040">
    <connectionType Type="LM_ICDI"/>
    <property Type="hiddenfield" Value="No" id="dataFileRequired"/>
    </connection>
    
    
    Regards,
    Sam
  • Thanks for staying with this for me.

    I created the file above, still get the same error in the Error box, but in the blue bar at the top of every Windows program it says "CCS Edit-hello/target_config.ccxml Error: Trouble parsing include or instance xml file C:\ti\ccsv5\ccs_base\common\targetdb\drivers\stellaris_cs_dap.xml(The system c...

    Also here is the build dump;

    **** Build of configuration Debug for project hello ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
    gmake: ../hello.c: Timestamp out of range; substituting 1969-12-31 18:00:00
    'Building file: ../hello.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" --include_path="C:/ti/TivaWare_C_Series-1.0" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_BLIZZARD_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="hello.pp" "../hello.c"
    'Finished building: ../hello.c'
    ' '
    gmake: ../startup_ccs.c: Timestamp out of range; substituting 1969-12-31 18:00:00
    'Building file: ../startup_ccs.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" --include_path="C:/ti/TivaWare_C_Series-1.0" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_BLIZZARD_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="startup_ccs.pp" "../startup_ccs.c"
    'Finished building: ../startup_ccs.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-1.0/utils/uartstdio.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" --include_path="C:/ti/TivaWare_C_Series-1.0" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_BLIZZARD_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="utils/uartstdio.pp" --obj_directory="utils" "C:/ti/TivaWare_C_Series-1.0/utils/uartstdio.c"
    'Finished building: C:/ti/TivaWare_C_Series-1.0/utils/uartstdio.c'
    ' '
    gmake: ../hello_ccs.cmd: Timestamp out of range; substituting 1969-12-31 18:00:00
    'Building target: hello.out'
    'Invoking: ARM Linker'
    "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_BLIZZARD_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual -z --stack_size=512 -m"hello_ccs.map" --heap_size=0 -i"C:/ti/ccsv5/tools/compiler/arm_5.0.4/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.0.4/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --rom_model -o "hello.out" "./utils/uartstdio.obj" "./startup_ccs.obj" "./hello.obj" -l"C:/ti/TivaWare_C_Series-1.0/examples/boards/ek-tm4c123gxl/hello/ccs/../../../../../driverlib/ccs/Debug/driverlib.lib" -l"libc.a" "../hello_ccs.cmd"
    <Linking>
    'Finished building target: hello.out'
    ' '
    "C:/ti/ccsv5/utils/tiobj2bin/tiobj2bin" "hello.out" "hello.bin" "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armofd" "C:/ti/ccsv5/tools/compiler/arm_5.0.4/bin/armhex" "C:/ti/ccsv5/utils/tiobj2bin/mkhex4bin"
    ' '

    **** Build Finished ****

    thanks

    Mac Thomson

    SA,TX

  • As you're in San Antonio - and gmake lists a 1969 timestamp substitution as, "new/improved" - might you have unwittingly entered a key, Alamo date - somewhere w/in your build process?

    In the '90's we sold to SWRI - have fond memories of that facility, nearby air-base & river-walk...

    We use IAR - someway/somehow no such timestamp subs or other set-up gremlins have attacked our silicon fortress...

  • Hi Mac,

    I'm going to move this thread over to our CCS forum. Hopefully they'll be able to provide further assistance.

    Best of luck,

    Sam

  • mac thomson said:
    - Error- File connections/Stellaris_ICDI_Connection.xml does not exist

    mac thomson said:
    Trouble parsing include or instance xml file C:\ti\ccsv5\ccs_base\common\targetdb\drivers\stellaris_cs_dap.xml(The system c...

    These are Stellaris device files which should exist in the CCS 5.4 installation. It sounds like Stellaris (ARM) device support hasn't been fully installed in CCS.

    Can you run the CCS installer on the C:\ti directory to try and install support for the missing devices?

  • I think Chester is on the right track. It sounds like Stellaris device support files are either installed at all or some are missing.

    As suggested by Chester, please re-run the CCS installer, select the same directory as your current installation and Custom installation, and add support for Stellaris and Tiva devices. Or to be even safer, uninstall your current installation (you can simply delete the directory where it was installed) and do a clean reinstall making sure to select the above device families.

  • I re-installed CCS, now I can configure the target and all is well, I'm up and running!

    Thanks to everybody for your help, I've got work to do now.

    Mac Thomson

    SA,TX