Other Parts Discussed in Thread: C2000WARE, SYSBIOS, TMS320F280049C
Hello world;
I'm using
- CCS10.0.0.00010_linux-x64
- C2000Ware_3_01_00_00_setup.run
- bios_6_82_00_16.run
- on Ubuntu 18.04.4. I'm new to the whole C28 family, but have experience with TM4C123 and TM4C129 and TI-RTOS using CCS.
I need a starting point for using SYSBIOS on my F280049C Launchpad now and a custon F28075 design later.
I tried "File->New CCS Project", Target=TMS320F280049C, Connection XDS110, Compiler TI v20.2.0 LTS (default), opened "Project templates and examples", and selected "TI Target Examples/Typical".
I ended up with a preconfigured project, but compiling/linking fails with a bunch of errors
**** Build of configuration Debug for project testbios ****
/home/fchk/ti/ccs1000/ccs/utils/bin/gmake -k -j 4 all -O
Building file: "../app.cfg"
Invoking: XDCtools
"/home/fchk/ti/ccs1000/xdctools_3_61_00_16_core/xs" --xdcpath="/home/fchk/ti/bios_6_82_00_16/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F280049C -r release -c "/home/fchk/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS" --compileOptions "-g" "../app.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring app.x28FP from package/cfg/app_p28FP.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making /home/fchk/workspace_v10/testbios/src/sysbios/sysbios.a28FP ...
cl28FP /home/fchk/ti/bios_6_82_00_16/packages/ti/sysbios/BIOS.c ...
asm28FP /home/fchk/ti/bios_6_82_00_16/packages/ti/sysbios/family/c28/Hwi_asm.s28 ...
asm28FP /home/fchk/ti/bios_6_82_00_16/packages/ti/sysbios/family/c28/Hwi_disp_asm.s28 ...
asm28FP /home/fchk/ti/bios_6_82_00_16/packages/ti/sysbios/family/c28/IntrinsicsSupport_asm.s28 ...
asm28FP /home/fchk/ti/bios_6_82_00_16/packages/ti/sysbios/family/c28/TaskSupport_asm.s28 ...
ar28FP BIOS.obj c28_Hwi_asm.obj c28_Hwi_disp_asm.obj c28_IntrinsicsSupport_asm.obj c28_TaskSupport_asm.obj ...
Build of libraries done.
cl28FP package/cfg/app_p28FP.c ...
Finished building: "../app.cfg"
making ../src/sysbios/sysbios.a28FP ...
gmake[1]: Für das Ziel „all“ ist nichts zu tun.
Building file: "../main.c"
Invoking: C2000 Compiler
"/home/fchk/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 --include_path="/home/fchk/workspace_v10/testbios" --include_path="/home/fchk/ti/bios_6_82_00_16/packages/ti/posix/ccs" --include_path="/home/fchk/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi --preproc_with_compile --preproc_dependency="main.d_raw" --cmd_file="configPkg/compiler.opt" "../main.c"
Finished building: "../main.c"
making ../src/sysbios/sysbios.a28FP ...
gmake[2]: Für das Ziel „all“ ist nichts zu tun.
Building target: "testbios.out"
Invoking: C2000 Linker
"/home/fchk/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=coffabi -z -m"testbios.map" --stack_size=0x200 --warn_sections -i"/home/fchk/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/lib" -i"/home/fchk/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="testbios_linkInfo.xml" --rom_model -o "testbios.out" "./main.obj" -l"configPkg/linker.cmd" -llibc.a
<Linking>
warning #10247-D: creating output section ".text" without a SECTIONS specification
warning #10247-D: creating output section ".econst" without a SECTIONS specification
warning #10247-D: creating output section ".cinit" without a SECTIONS specification
warning #10247-D: creating output section ".data" without a SECTIONS specification
warning #10247-D: creating output section ".ebss" without a SECTIONS specification
warning #10247-D: creating output section ".binit" without a SECTIONS specification
warning #10247-D: creating output section ".switch" without a SECTIONS specification
warning #10247-D: creating output section ".cio" without a SECTIONS specification
"configPkg/linker.cmd", line 74: warning #10097: memory range not found: D01SARAM on page 0
"configPkg/linker.cmd", line 73: error #10265: no valid memory range available for placement of ".text:ti_catalog_c2800_initF2837x_flashfuncs"
"configPkg/linker.cmd", line 73: 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/blocking fails for section ".text:ti_catalog_c2800_initF2837x_flashfuncs" size 0x27page 0
"configPkg/linker.cmd", line 73: warning #10097: memory range not found: FLASHA on page 0
"configPkg/linker.cmd", line 73: error #10265: no valid memory range available for placement of ".text:ti_catalog_c2800_initF2837x_flashfuncs"
"configPkg/linker.cmd", line 73: 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. load placement with alignment/blocking fails for section ".text:ti_catalog_c2800_initF2837x_flashfuncs" size 0x27page 0
"configPkg/linker.cmd", line 136: warning #10097: memory range not found: BEGIN on page 0
"configPkg/linker.cmd", line 136: error #10265: no valid memory range available for placement of ".ti_catalog_c2800_initF2837x_begin"
"configPkg/linker.cmd", line 136: 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/blocking fails for section ".ti_catalog_c2800_initF2837x_begin" size 0x2page 0
error #10010: errors encountered during linking; "testbios.out" not built
>> Compilation failure
makefile:138: recipe for target 'testbios.out' failed
gmake[1]: *** [testbios.out] Error 1
gmake: *** [all] Error 2
makefile:134: recipe for target 'all' failed
**** Build Finished ****
Being new to the platform, I'm completely stuck now.
Are there SYSBIOS example projects that are known to work on my Launchpad?
Thanks.