Part Number: TM4C1294KCPDT
Other Parts Discussed in Thread: SYSBIOS
I have been attempting to create an application for the TM4C1294KCPDT micro-controller. I first did a custom install for the latest version of CCS (12.3.0.00005), with TM4C12x ARM Cortex - M4F core-based MCUs selected.
This also installed xdctools_3_62_01_16_core.
Note: Neither TI-RTOS or Tivaware are options to install within CCS App Center. Documentation indicates that this how we should do the install. Given they are not available within CCS App Center, we did download and install outside of CCS.
Installed TI-RTOS 2.16.01.14 which also installed xdctools_3_32_00_06_core.
Installed TivaWare_C_Series 2.2.0.295.
Then made the following changes to CCS.
CCS->Window->Preferences->Code Composer Studio->Products
+ Add C:/ti/xdctools_3_32_00_06_core
+ Add C:/ti/tirtos_tivac_2_16_01_14
+ Add C:/ti/TivaWare_C_Series-2.2.0.295
Under the Discovered products
- Remove xdctools_3_62_01_16_core
+ Add TI-RTOS for TivaC 2.16.1.14
+ Add TivaWare for TM4C SDK 2.2.0.295
+ Add XDCtools 3.32.0.06_core
Then verified able to import and compile example project from Tivaware:
usb_dev_cdcserial
Note: Unable to find the TI-RTOS examples in TI Resource Explorer, only the TivaWare examples are available. Documentation indicates we should be able to navigate to the TI-RTOS examples but they are not listed in TI Resource Explorer. Therefore attempted to use CCS->file->import->Code Composer Studio->CCS Projects. This does not import a project that is can be activated.
Next, attempted to import project from C:/ti/tirtos_tivac_2_16_01_14/tirtos_tivac_2_16_01_14_examples. The examples are NOT recognized as a CCS project and unable to import. We need TI-RTOS examples that can be imported so that we can confirm CCS is functioning properly when compiling with TI-RTOS. Why doesn't import CCS project work with these examples? How can we import these example projects?
Next, imported our custom TI-RTOS application code and tried compiling. This did not work and generated the output listed in the attached file. Please let us know how to move past the attached errors.
Lastly, we attempted to create a new empty RTSC project. However, it is not be generated since we don't know what to enter in the XDCtools settings->Platform. What is the platform for our application?
Build Errors for custom application:
**** Build of configuration Debug for project EFS3_A ****
"C:\\ti\\ccs1230\\ccs\\utils\\bin\\gmake" -k -j 16 all -O
Building file: "../EFS3_A.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294KCPDT -r release -c "C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS" --compileOptions "-g" "../EFS3_A.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring EFS3_A.xem4f from package/cfg/EFS3_A_pem4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/pmcco/workspace_v12/EFS3_A/src/sysbios/sysbios.aem4f ...
gmake[1]: Entering directory `C:/Users/pmcco/workspace_v12/EFS3_A/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/pmcco/workspace_v12/EFS3_A/src/sysbios'
Build of libraries done.
clem4f package/cfg/EFS3_A_pem4f.c ...
"package/cfg/EFS3_A_pem4f.c", line 15117: warning: statement is unreachable
"package/cfg/EFS3_A_pem4f.c", line 15603: warning: statement is unreachable
"package/cfg/EFS3_A_pem4f.c", line 15877: warning: statement is unreachable
"package/cfg/EFS3_A_pem4f.c", line 16058: warning: statement is unreachable
Finished building: "../EFS3_A.cfg"
Building file: "../startup_ccs.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="startup_ccs.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../startup_ccs.c"
Finished building: "../startup_ccs.c"
Building file: "../epi.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="epi.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../epi.c"
Finished building: "../epi.c"
Building file: "../i2c.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="i2c.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../i2c.c"
Finished building: "../i2c.c"
Building file: "../main.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../main.c"
Finished building: "../main.c"
Building file: "../ioExpander.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="ioExpander.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../ioExpander.c"
Finished building: "../ioExpander.c"
Building file: "C:/ti/TivaWare_C_Series-2.2.0.295/utils/ringbuf.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Utility/ringbuf.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --obj_directory="Utility" --cmd_file="configPkg/compiler.opt" "C:/ti/TivaWare_C_Series-2.2.0.295/utils/ringbuf.c"
Finished building: "C:/ti/TivaWare_C_Series-2.2.0.295/utils/ringbuf.c"
Building file: "../adc.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="adc.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../adc.c"
Finished building: "../adc.c"
Building file: "../spi.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="spi.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../spi.c"
Finished building: "../spi.c"
Building file: "../utility.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="utility.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../utility.c"
Finished building: "../utility.c"
Building file: "C:/ti/TivaWare_C_Series-2.2.0.295/utils/uartstdio.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="Utility/uartstdio.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --obj_directory="Utility" --cmd_file="configPkg/compiler.opt" "C:/ti/TivaWare_C_Series-2.2.0.295/utils/uartstdio.c"
Finished building: "C:/ti/TivaWare_C_Series-2.2.0.295/utils/uartstdio.c"
Building file: "../usb.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="usb.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../usb.c"
Finished building: "../usb.c"
Building file: "../ldc.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="ldc.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../ldc.c"
Finished building: "../ldc.c"
Building file: "../parser.c"
Invoking: Arm Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/TivaWare_C_Series-2.2.0.295" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A" --include_path="C:/ti/TivaWare_C_Series-2.2.0.295/utils" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="parser.d_raw" --include_path="C:/Users/pmcco/workspace_v12/EFS3_A/Debug/syscfg" --cmd_file="configPkg/compiler.opt" "../parser.c"
Finished building: "../parser.c"
Building target: "EFS3_A.out"
Invoking: Arm Linker
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --define=ccs="ccs" --define=UART_BUFFERED --define=TARGET_IS_TM4C129_RA2 --define=PART_TM4C1294KCPDT -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"EFS3_A.map" --heap_size=0 --stack_size=512 --cinit_hold_wdt=on -i"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/lib" -i"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-arm_20.2.7.LTS/include" --reread_libs --diag_wrap=off --display_error_number --verbose_diagnostics --warn_sections --xml_link_info="EFS3_A_linkInfo.xml" --rom_model -o "EFS3_A.out" "./adc.obj" "./epi.obj" "./i2c.obj" "./ioExpander.obj" "./ldc.obj" "./main.obj" "./parser.obj" "./spi.obj" "./startup_ccs.obj" "./usb.obj" "./utility.obj" "./Utility/ringbuf.obj" "./Utility/uartstdio.obj" "../src/sysbios/BIOS.obj" "../src/sysbios/m3_Hwi_asm.obj" "../src/sysbios/m3_Hwi_asm_switch.obj" "../src/sysbios/m3_IntrinsicsSupport_asm.obj" "../src/sysbios/m3_TaskSupport_asm.obj" "../tm4c1294kcpdt.cmd" -l"configPkg/linker.cmd" -l"C:/ti/TivaWare_C_Series-2.2.0.295/usblib/ccs/Debug/usblib.lib" -l"C:/ti/TivaWare_C_Series-2.2.0.295/driverlib/ccs/Debug/driverlib.lib" -llibc.a
<Linking>
warning #10457-D: Use of variable-length arrays is not thread-safe.
"../tm4c1294kcpdt.cmd", line 38: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. run placement with alignment fails for section ".vtable" size 0x26c, overlaps with ".vecs", size 0x360 (page 0)
.vtable : > 0x20000000
"configPkg/linker.cmd", line 132: error #10099-D: program will not fit into available memory, or the section contains a call site that requires a trampoline that can't be generated for this section. placement with alignment fails for section ".resetVecs" size 0x3c, overlaps with ".intvecs", size 0x200 (page 0)
.resetVecs: load > 0x0
undefined first referenced
symbol in file
--------- ----------------
SysTickIntHandler ./startup_ccs.obj
USBUARTIntHandler ./startup_ccs.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "EFS3_A.out" not built
>> Compilation failure
makefile:158: recipe for target 'EFS3_A.out' failed
gmake[1]: *** [EFS3_A.out] Error 1
makefile:154: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****





