Part Number: TMS320C6678
Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Hi,
I use CCS 6.1.3.00034 with PDK_c667x_2_0_5.
I want to use platform_lib in my project and build test project as follows.
1. Create a new CCS project with project template menu -> SYS/BIOS->TI Target Examples -> Typical
2. Compile generated project -> (OK. No Problem)
3. add following line in app.cfg.
var PlatformLib = xdc.loadPackage('ti.platform.evmc6678l');
4. Build again and get following error message
**** Build of configuration Debug for project HBOX_TEST ****
"C:\\ti6\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: C6000 Compiler'
"C:/ti6/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6600 --include_path="C:/ti6/ti-cgt-c6000_8.1.3/include" -g --diag_wrap=off --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="main.d" --cmd_file="configPkg/compiler.opt" "../main.c"
'Finished building: ../main.c'
' '
'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti6/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti6/bios_6_46_04_53/packages;C:/ti6/pdk_c667x_2_0_5/packages;C:/ti6/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r release -c "C:/ti6/ti-cgt-c6000_8.1.3" --compileOptions "-g --optimize_with_debug" "../app.cfg"
configuring app.xe66 from package/cfg/app_pe66.cfg ...
subdir_rules.mk:7: recipe for target 'configPkg/linker.cmd' failed
js: "D:/WORK_TI6/HBOX_TEST/app.cfg", line 19: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: C:\ti6\pdk_c667x_2_0_5\packages\ti\platform\evmc6678l\package.xdc found along the package path, but no schema file was found. Ensure that the package 'ti.platform.evmc6678l' is completely built.
"./package/cfg/app_pe66.cfg", line 191
xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/app_pe66.xdl] Error 1
js: "C:/ti6/xdctools_3_32_01_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: *** [configPkg/linker.cmd] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
I tested same project without any error at CCS 5.4.0 with PDK_C6678_1_1_2_6.
Can someone help me how to fix this problem ?
Regards.
Brian