Other Parts Discussed in Thread: SYSBIOS
Hello all,
We have recently acquired a C6678 DSP for the purpose of running some custom benchmarks. We have found a great tool in CCS v5 called System Analyzer, which allows us to examine and analyze particular data. We, however, are entirely new to System Analyzer and CCS in general. For that reason, we have been following the System Analyzer tutorials found in the wiki page. We successfully ran tutorials 1 and 2, but tutorial 3 has been giving us a whole lot of problems.
When we first try to build our project for tutorial 3A, following the instructions on the tutorial step-by-step, we get the following error message:
**** Build of configuration Debug for project Tutorial3A ****
C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../stairstep_Simulator.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_23_03_53/xs" --xdcpath="C:/ti/uia_1_01_00_04/packages;C:/ti/bios_6_33_04_39/packages;C:/ti/ipc_1_24_02_27/packages;C:/Program Files (x86)/Texas Instruments/mcsdk_2_00_08_20;C:/Program Files (x86)/Texas Instruments/mcsdk_2_00_08_20/demos/hua;C:/Program Files (x86)/Texas Instruments/ndk_2_20_06_35/packages;C:/ti/ccsv5/ccs_base;C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_20/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.sdo.ipc.examples.platforms.evm6678.core0 -r release -c "C:/ti/ccsv5/tools/compiler/c6000_7.3.4" "../stairstep_Simulator.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring stairstep_Simulator.xe66 from package/cfg/stairstep_Simulator_pe66.cfg ...
error: ti.sysbios.BIOS: "C:/ti/bios_6_33_04_39/packages/ti/sysbios/BIOS.xs", line 597: ti.sysbios.utils.Load hwiEnabled: Load.hwiEnabled must be set to 'false' when BIOS.libType == BIOS.LibType_Instrumented. Set 'BIOS.libType = BIOS.LibType_Custom' to build a custom library or update your configuration.
error: ti.sysbios.BIOS: "C:/ti/bios_6_33_04_39/packages/ti/sysbios/BIOS.xs", line 613: ti.sysbios.utils.Load swiEnabled: Load.swiEnabled must be set to 'false' when BIOS.libType == BIOS.LibType_Instrumented. Set 'BIOS.libType = BIOS.LibType_Custom' to build a custom library or update your configuration.
js: "C:/ti/xdctools_3_23_03_53/packages/xdc/cfg/Main.xs", line 149: Error: Configuration failed!
gmake.exe: *** [package/cfg/stairstep_Simulator_pe66.xdl] Error 1
js: "C:/ti/xdctools_3_23_03_53/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/compiler.opt] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
The error states that two variables must be set to false, Load.hwiEnabled and Load.swiEnabled. The variables are located in the .cfg file of our project:
When we change the values of the variables to true and we build the project once again, the configuration is successful and the .out file is built:
**** Build of configuration Debug for project Tutorial3A ****
C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../stairstep_Simulator.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_23_03_53/xs" --xdcpath="C:/ti/uia_1_01_00_04/packages;C:/ti/bios_6_33_04_39/packages;C:/ti/ipc_1_24_02_27/packages;C:/Program Files (x86)/Texas Instruments/mcsdk_2_00_08_20;C:/Program Files (x86)/Texas Instruments/mcsdk_2_00_08_20/demos/hua;C:/Program Files (x86)/Texas Instruments/ndk_2_20_06_35/packages;C:/ti/ccsv5/ccs_base;C:/Program Files (x86)/Texas Instruments/pdk_C6678_1_0_0_20/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.sdo.ipc.examples.platforms.evm6678.core0 -r release -c "C:/ti/ccsv5/tools/compiler/c6000_7.3.4" "../stairstep_Simulator.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring stairstep_Simulator.xe66 from package/cfg/stairstep_Simulator_pe66.cfg ...
cle66 package/cfg/stairstep_Simulator_pe66.c ...
'Finished building: ../stairstep_Simulator.cfg'
' '
'Building file: ../stairstep.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --define=_INCLUDE_NIMU_CODE --define=C66_PLATFORMS --define=_NDK_EXTERN_CONFIG --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="stairstep.pp" --cmd_file="./configPkg/compiler.opt" "../stairstep.c"
'Finished building: ../stairstep.c'
' '
'Building target: Tutorial3A.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6600 -g --define=_INCLUDE_NIMU_CODE --define=C66_PLATFORMS --define=_NDK_EXTERN_CONFIG --display_error_number --diag_warning=225 --abi=eabi -z -m"Tutorial3A.map" --warn_sections --display_error_number -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --reread_libs --rom_model -o "Tutorial3A.out" -l"./configPkg/linker.cmd" "./stairstep.obj" -l"libc.a"
<Linking>
'Finished building target: Tutorial3A.out'
' '
**** Build Finished ****
However, when we open the Live Session: Logs window of System Analyzer, we only see two log entries. The tutorial states that there should be new log entries every 20 seconds, but we always only have two:
What could we be doing wrong? Or perhaps our particular configuration is causing the problem?
Our version of CCS is 5.2.
I will provide any additional information if needed.
Any help will be greatly appreciated.

