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.

Can't find import file: 'codec.cfg' after updating CCS 5.1.0.09

Hello,

I can not compile the server project generated by Codec Engine GenServer wizard after I updated my CCS 5.1.0.09. Looks like the following line in server.cfg is not recognized anymore:

utils.importFile("codec.cfg"); 

Can't find import file: 'codec.cfg' (not found along 'C:/Tools/xdctools_3_16_01_27/packages/xdc/tools/xgconf/configprovider/;C:/Tools/xdctools_3_16_01_27/include;C:/Tools/xdctools_3_16_01_27/packages'

I did get an error message after the upgrade. The log file of the installation is attached. Please help!

Ying

ccs_update_5.2.0.00071_install.zip
  • Hi Ying

    have you tried adding the path to the cfg file under

    Project->Properties->CCS BUild->XDC Tools->Package Repositories?

    Please give this a try and keep us informed.

    Best Regards,

    Lisa

  • Lisa, The server project is makefile based from the wizard. So XDC Tools is not there. I also tried my test app project which is a regular CCS project. The codec.cfg is in the same directory but adding it there didn't help. Still a red X in front of:

    utils.importFile("codec.cfg");

    In XDCtools I have:

    --xdcpath="C:/workshop/CA_CodecEngine/ca/rotate/app_dsp;D:/Wince600_Zack_2_28/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/codec_engine_2_26_01_09/packages;D:/Wince600_Zack_2_28/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/biosutils_1_02_02/packages;D:/Wince600_Zack_2_28/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/xdais_6_26_01_03/packages;D:/Wince600_Zack_2_28/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/framework_components_2_26_00_01/packages;C:/workshop/CA_CodecEngine;C:/Tools/bios_5_41_00_06/packages;D:/Wince600_Zack_2_28/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/codec_engine_2_26_01_09/examples;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C64P -p ti.platforms.evm3530 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000" --tcf

    Also, the code.cfg now has an error msg of "$$legacy" is not defined.

  • Hello,

    I've tried to uninstall then reinstall CCS 5.1.0.09 and it didn't help. Last week, I also installed CCS 5.2 in a seperate folder to get ARM AM335x support before I discovered the issues. The problems I'm having are with the projects I did for customized DSP algorithems/codecs using Codec Engine 2 running on OMAP3730. I've done the following to get rid of some error messages:

    1. Add XDCPATH:=$(CURDIR);$(XDCPATH)in makefile

    2. changed utils.importFile('./memmap.tci'); in server.tcf (generated by the wizard) to utils.importFile('memmap.tci');

    3. Use utils.importFile("codec.cfg", "C:/workshop/CA_CodecEngine/ca/rotate/server"); instead of utils.importFile("codec.cfg"); in server.cfg.

    Now the compilation of the DSP server shows error msg "$$legacy" is not defined. Where do I need to define it? Should I re-run the GenServer wizard? The generated config script file is attached for review. Any prompt help is much appreciated.

    Ying

     

    rotate_x64P.cfg
  • Hi Ying,

    after a bit further discussion here, I am going to move this over the BIOS forum for you as they should be better able to help you. 

    Best Regards,

    Lisa

  • Ying,

    You could re-run genserver.  If that doesn't work, could you please zip up your server directory and attach it here?  You shouldn't have to add the path to the codec package to the utils.importFile() statement in server.cfg.  This indicates that something else is wrong, causing the failure further down.

    Best regards,

        Janet

  • I've not had a chance to try it out. Will post it here once I do. Thanks, - Ying