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.

C55 Connected Audio Framework 01.52.01.00 - Build failed in DSP/BIOS

Hello,

i am trying to rebuild the Framework using:

Code Composer Studio 4.2.4.00033
Code Composer Studio Built Utilities 1.0.1
Code Composer Studio for C5500 4.0.0.201106061600
codegen v4.3.9/v4.4.0
DSP/BIOS 5.41.10.36
XDCtools 3.22.1.21
C55 Connected Audio Framework 01.52.01.00

When it comes to:

'Building file: X:/0WRK/c55_caf/build/VC5505_CSL_BIOS_cfg.tcf'
'Invoking: TConf Script Compiler'
"C:/APPS/CCS42/xdctools_3_22_01_21/tconf" -b -Dconfig.importPath="C:/APPS/CCS42/bios_5_41_10_36/packages;" "X:/0WRK/c55_caf/build/VC5505_CSL_BIOS_cfg.tcf"
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
  self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask
  ==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
  self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0
  ==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
  if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}
  ==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
  if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }
  ==> err
(if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}, self.iIer0Mask = $1, "ok")
  if ($1 == "all") {self.Ier0Mask = 0xffff} else {if ($1 == "self") {if (self.iId < 16) {self.Ier0Mask = (1 << self.iId)} else {self.warning("This Interrupt is NOT maskable via IER0").Ier0Mask = 0}} else {if ($1 == "none") {self.Ier0Mask = 0} }}
  ==> err
'Finished building: X:/0WRK/c55_caf/build/VC5505_CSL_BIOS_cfg.tcf'

 

This seems to be the source for this in VC5505_CSL_BIOS_cfg.tcf:

bios.HWI.instance("HWI_INT20").interruptMask0 = "self";
bios.HWI.instance("HWI_INT20").interruptMask1 = "self";

Since there is another definition for HWI_INT20 i removed this two lines.

After that the files VC5505_CSL_BIOS_cfg.s55, VC5505_CSL_BIOS_cfg_c.c and some others are created.

But the builder misses them:

'Building file: VC5505_CSL_BIOS_cfg.s??'
'Invoking: Compiler'
"C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/bin/cl55" -vcpu:3.3 -g -O3 --define="BIOS_BUILD" --define="CSL_AC_TEST" --include_path="C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/include" --include_path="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/bios/include" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/rtdx/include/c5500" --include_path="C:/APPS/CCS42/xdais_7_10_00_06/packages/ti/xdais" --include_path="X:/0WRK/c55_caf/build" --include_path="X:/0WRK/c55_caf/inc" --include_path="X:/0WRK/c55_caf/c55xx_csl/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2c/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2s/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/dma/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/pal_os/inc" --include_path="X:/0WRK/c55_caf/asrc/inc" --diag_warning=225 --no_warnings --large_memory_model --algebraic --obj_directory="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --preproc_with_compile --preproc_dependency="VC5505_CSL_BIOS_cfg.pp" ""
>> ERROR: no source files, nothing to do
'Finished building: VC5505_CSL_BIOS_cfg.s??'
' '
'Building file: VC5505_CSL_BIOS_cfg_c.c'
'Invoking: Compiler'
"C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/bin/cl55" -vcpu:3.3 -g -O3 --define="BIOS_BUILD" --define="CSL_AC_TEST" --include_path="C:/APPS/CCS42/ccsv4/tools/compiler/C5500 Code Generation Tools 4.3.9/include" --include_path="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/bios/include" --include_path="C:/APPS/CCS42/bios_5_41_10_36/packages/ti/rtdx/include/c5500" --include_path="C:/APPS/CCS42/xdais_7_10_00_06/packages/ti/xdais" --include_path="X:/0WRK/c55_caf/build" --include_path="X:/0WRK/c55_caf/inc" --include_path="X:/0WRK/c55_caf/c55xx_csl/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2c/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/i2s/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/dma/inc" --include_path="X:/0WRK/c55_caf/c55x5_drivers/pal_os/inc" --include_path="X:/0WRK/c55_caf/asrc/inc" --diag_warning=225 --no_warnings --large_memory_model --algebraic --obj_directory="X:/0WRK/c55_caf/build/CSL_USB_IsoFullSpeedExample_Out/Release" --preproc_with_compile --preproc_dependency="VC5505_CSL_BIOS_cfg_c.pp" ""
>> ERROR: no source files, nothing to do
'Finished building: VC5505_CSL_BIOS_cfg_c.c'

When i manually build: VC5505_CSL_BIOS_cfg.obj and VC5505_CSL_BIOS_cfg_c.obj the builder gets it and builds the executable.  

Is my tool chain broken?

 

Best Regards

Lothar 

  • Lothar,

    Please refer to the discussion in an older forum post on a similar topic: http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/t/146664.aspx#532073. This should address the issues you are seeing.

    Regards,

    Sunil Kamath

     

     

     

     

  • Dear Sunil,

    nothing of the referenced thread matches to my problems.

    So to make a clear point, a simple step-by-step procedure to recreate the problem which seems more related to a issue with DSP/BIOS:

    1. Create a empty CCS-Project for the C5500

    2. At "New CCS Project" "Project Templates" select DSP/BIOS v5.xx -> ezdzp5505 Examples -> hello Example

    3. Adjust the "Build Properties" -> C5500 Compiler -> Processor Options to: large memory model

    4. Build this project and You will get 83 errors and 1 warning.

    The tconf-utility generates 2 files: hellocfg_c.c and hellocfg.s55 but the builder does not find these files.

    'Building file: hellocfg.s??'
    ...
    -preproc_with_compile --preproc_dependency="hellocfg.pp" ""
    >> ERROR: no source files, nothing to do

    and

    'Building file: hellocfg_c.c'
    ...
    -preproc_with_compile --preproc_dependency="hellocfg_c.pp" ""
    >> ERROR: no source files, nothing to do

    The files are generated, but it seems they are missed in the argument list of the compiler call.

    If You build these files manual, the builder is happy and builds the rest of the project.

     

    Any hints?

     

    Best Regards

     

    Lothar

     

  • Lothar,

    Sorry for wild goose chase.

    About the first problem of the connected audio framework errors that you are seeing, you can ignore them and the build go through successfully.

    About the codegen tools not being able to find the newly generated tconf files, it is puzzling. Can you tell me where do you see these files being generated (delete all files from the Debug (or Release) directory before building the project. By default they should be generated in the Debug (or Release) directory of the project. You can also go to the 'Build Options' (right click on the project) and click on 'Macros' tab. The 'TCONF_OUTPUT_DIR' parameter in the lower 'System Macros' window should point to this directory (Debug or Release). Example "C:/.../hello example/Debug". This path should also show up if you click on  'C5500 Compiler' under the 'Tool Setting' tab. If not you can add it in Include Options' as ' "${TCONF_OUTPUT_DIR}" '. Do you have any white spaces in the path to your CCSv4 workspace?

    Regards,

    Sunil