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.

CCS/TMS320C6746: TI-RTOS ON C6746

Part Number: TMS320C6746
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi,

I want use TI-RTOS on C6746. I downloaded SDK for C6748 from TI's website. Then I imported Hello example code from resource explorer. But, when I tried to build the project I'm getting some errors. I'm attaching the screenshot of errors . I'm new to RTOS , so please help me with detailed explanation. This is how my console window looks like:-

**** Build of configuration Debug for project hello_TMS320C6746_C67XX ****

"D:\\TI\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O
making ../src/sysbios/sysbios.ae674 ...
gmake[1]: Entering directory 'C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/Debug'
'Building file: ../hello.cfg'
gmake[1]: Entering directory 'C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/src/sysbios'
asme674 D:/SDK/bios_6_76_02_02/packages/ti/sysbios/rts/ti/tls_get_tp.asm ...
makefile:57: recipe for target 'ti_tls_get_tp.obj' failed
gmake[1]: *** [ti_tls_get_tp.obj] Error -1073741502
gmake[1]: Leaving directory 'C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/src/sysbios'
'Invoking: XDCtools'
"D:/SDK/xdctools_3_55_02_22_core/xs" --xdcpath="D:/SDK/bios_6_76_02_02/packages;D:/TI/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C674 -p ti.platforms.evm6748 -r release -c "D:/TI/ccsv7/tools/compiler/c6000_7.4.24" --compileOptions "-g" "../hello.cfg"
gmake[1]: Entering directory 'C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/src/sysbios'
asme674 D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
4 Assembly Errors, 1 Assembly Warning

>> Compilation failure
makefile:53: recipe for target 'c64p_Hwi_disp_always.obj' failed
"D:\SDK\bios_6_76_02_02\packages\ti\sysbios\family\c64p\package/internal/Hwi.xdc.h", line 15: fatal error #5: could not open source file "ti/sysbios/family/c64p/Hwi.h"
Compilation terminated.
"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", WARNING! at line 37:
[E1000]
error while processing C code in .cdecls directive
.cdecls C,NOLIST,"package/internal/Hwi.xdc.h"

"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at line 106:
[E0004]
Structure/Union tag symbol expected
_ti_sysbios_family_c64p_Hwi_Module__state__V .tag ti_sysbios_family_c64p_Hwi_Module_State

"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", REMARK at line 106:
[R0001]
After symbol substitution the line became:
ti_sysbios_family_c64p_Hwi_Module__state__V .tag ti_sysbios_family_c64p_Hwi_Module_State

"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at line 129:
[E0009]
Missing struct/union member or tag
|| mvkl _ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", REMARK at line 129:
[R0001]
After symbol substitution the line became:
|| mvkl ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at line 134:
[E0009]
Missing struct/union member or tag
|| mvkh _ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", REMARK at line 134:
[R0001]
After symbol substitution the line became:
|| mvkh ti_sysbios_family_c64p_Hwi_Module__state__V.bss, a9

"D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P", ERROR! at EOF:
[E0300]
The following symbols are undefined:
ti_sysbios_family_c64p_Hwi_Module_State
ti_sysbios_family_c64p_Hwi_Module__state__V
bss

Errors in Source - Assembler Aborted
gmake[1]: *** [c64p_Hwi_disp_always.obj] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake: *** [../src/sysbios/sysbios.ae674] Error 2
gmake[1]: Leaving directory 'C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/src/sysbios'
../src/makefile.libs:56: recipe for target '../src/sysbios/sysbios.ae674' failed
configuring hello.xe674 from package/cfg/hello_pe674.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
'Building file: ../hello.c'
'Invoking: C6000 Compiler'
"D:/TI/ccsv7/tools/compiler/c6000_7.4.24/bin/cl6x" -mv6740 --abi=eabi -g --include_path="C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX" --include_path="D:/SDK/bios_6_76_02_02/packages/ti/posix/ccs" --include_path="D:/TI/ccsv7/tools/compiler/c6000_7.4.24/include" --define=c6746 --diag_wrap=off --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="hello.d_raw" --cmd_file="configPkg/compiler.opt" "../hello.c"
'Finished building: ../hello.c'
' '
making C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/src/sysbios/sysbios.ae674 ...
asme674 D:/SDK/bios_6_76_02_02/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ...
Build of libraries failed.
subdir_rules.mk:19: recipe for target 'build-612764481-inproc' failed
0 [main] sh 282564 sync_with_child: child 217980(0x1B0) died before initialization with status code 0xC0000142
14 [main] sh 282564 sync_with_child: *** child state waiting for longjmp
C:/Users/VATTE~1.RED/AppData/Local/Temp/make282160-3.sh: fork: Resource temporarily unavailable
gmake[1]: *** [makefile:54: c64p_Hwi_disp_always.obj] Error 128
gmake: *** [C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/src/makefile.libs:57: C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/src/sysbios/sysbios.ae674] Error 2
error: xdc.cfg.SourceDir: "D:/SDK/xdctools_3_55_02_22_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "D:/SDK/xdctools_3_55_02_22_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_55_02_22_core\gmake.exe: *** [package.mak:204: package/cfg/hello_pe674.xdl] Error 1
xdctools_3_55_02_22_core\gmake.exe: *** Deleting file 'package/cfg/hello_pe674.xdl'
xdctools_3_55_02_22_core\gmake.exe: *** [package/cfg/hello_pe674.xdl] Deleting file 'package/cfg/hello_pe674.h'
xdctools_3_55_02_22_core\gmake.exe: *** [package/cfg/hello_pe674.xdl] Deleting file 'package/cfg/hello_pe674.c'
js: "D:/SDK/xdctools_3_55_02_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-612764481-inproc] Error 1
gmake: *** [build-612764481] Error 2
gmake[1]: Leaving directory 'C:/Users/vatte.reddy/Desktop/Ethernet/Ethernet_b2b_test/hello_TMS320C6746_C67XX/Debug'
subdir_rules.mk:16: recipe for target 'build-612764481' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Regards,

Vishnu.