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.

C6678 JPEG Problem

Other Parts Discussed in Thread: CCSTUDIO, SYSBIOS

Hello all

I download the "C66x_jpegenc_02_02_00_01_ELF" and "JPEG Baseline Profile Encoder (v02.02.00) on C66x User's Guide.pdf" on web.

But, Description of "User's Guide" and  "C66x_jpegenc_02_02_00_01_ELF" don't match.

I create a new project on ccs5.0.3 then add sourcecodes and build successful. Then debuging "TestAppEncoder.out" , it can not go main.

the key for the problem is as follow.  In TestAppEncoder.c line 395

    if ((handle = (IALG_Handle)ALG_create (
            (IALG_Fxns *) &DMJPGE_TIGEM_IDMJPGE,  // change to "(IALG_Fxns *)NULL" can go main
            (IALG_Handle) NULL,
            (IALG_Params *) &params)) == NULL)
    {
        printf("\nFailed to Create Instance... Exiting for this configuration..");
        continue;
    }

What's the problem?

Do you have a new sample , it can run on ccs5.0.3 correctly ?

  • Hi,

    The test application of C66x JPEGENC uses a custom C66x platform which is included in the codec package itself.  Not sure which platform was selected when you created your project. If it was not the right one, it can cause the issue you are observing.

    We do not recommend creating the project from scratch. Instead, please import the project from the release package. If there is any issue during the project importing, compilation, and execution, please let us know and we can help fix it.

    Thanks,

    Hongmei

  • Hi Hongmei:

    First, I tried to import the project. And it was transformed into ccs5 automatically(the original is ccs4).
      Messagebox "Update Managed Build Project" pop up, I click "Yes".
    Then, I changed Build Varibales
      Change BIOS_CG_ROOT from "C:\CCStudio_4.2.3\bios_6_31_00_18" to "C:\Program Files\Texas Instruments\bios_6_32_04_49"
      Change FRAMEWORK_ROOT from "C:\CCStudio_4.2.3\ccsv4\framework_components_3_20_02_29" to "C:\Program Files\Texas Instruments\framework_components_3_22_02_08"
      Change XDC_ROOT from "C:\CCStudio_4.2.3\xdctools_3_20_08_88" to "C:\Program Files\Texas Instruments\xdctools_3_22_01_21"
    Then,
      Add JPEGENC_ROOT "C:\Program Files\Texas Instruments\Codecs\C66x_jpegenc_02_02_00_01_ELF\packages\ti\sdo\codecs\jpegenc\App" to Resource->Linked Resources

    Then, build project, found 34 errors
      Description Resource Path Location Type
      cannot find file "./configPkg/linker.cmd" TestAppEncoder C/C++ Problem
      errors encountered during linking; "TestAppEncoder.out" not built TestAppEncoder C/C++ Problem
      Linking failed. Check the Console window for details. TestAppEncoder Unknown C/C++ Problem
      no valid memory range(NULL) available for placement of ".bss" TestAppEncoder C/C++ Problem
      no valid memory range(NULL) available for placement of ".const" TestAppEncoder C/C++ Problem
      no valid memory range(NULL) available for placement of ".fardata" TestAppEncoder C/C++ Problem
      no valid memory range(NULL) available for placement of ".neardata" TestAppEncoder C/C++ Problem
      no valid memory range(NULL) available for placement of ".stack" TestAppEncoder C/C++ Problem
      no valid memory range(NULL) available for placement of ".switch" TestAppEncoder C/C++ Problem
      no valid memory range(NULL) available for placement of ".text" TestAppEncoder C/C++ Problem
      placement fails for object ".const", size 0xbe9 (page 0) TestAppEncoder C/C++ Problem
      placement fails for object ".stack", size 0x2000 (page 0) TestAppEncoder C/C++ Problem
      placement fails for object ".switch", size 0x48 (page 0) TestAppEncoder C/C++ Problem
      placement fails for object ".text", size 0xd360 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object ".bss", size 0x30 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object ".data", size 0x0 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object ".fardata", size 0x250 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object ".init_array", size 0x0 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object ".intDataMem", size 0x0 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object ".neardata", size 0x10 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object ".rodata", TestAppEncoder C/C++ Problem
      run placement fails for object ".rodata", size 0x0 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object "JPEGIENC_TI_cSect", size 0x0 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object "JPEGIENC_TI_dSect", size 0x0 (page 0) TestAppEncoder C/C++ Problem
      run placement fails for object "JPEGIENC_TI_uSect", size 0x0 (page 0) TestAppEncoder C/C++ Problem
      Unresolved symbol _sysbios_BIOS_start__E in file ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      Unresolved symbol _sysbios_family_c66_Cache_getMar__E in file ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      Unresolved symbol _sysbios_family_c66_Cache_setMar__E in file ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      Unresolved symbol _sysbios_family_c66_Cache_setSize__E in file ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      Unresolved symbol _sysbios_family_c66_Cache_wbInv__E in file ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      Unresolved symbol _sysbios_family_c66_Cache_wbInvAll__E in file ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      Unresolved symbol _sysbios_knl_Task_Object__create__ in file S ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      Unresolved symbol _sysbios_knl_Task_Params__init__ in file S ./Obj/TestAppEncoder.obj .xdchelp /TestAppEncoder 0 C/C++ Problem
      unresolved symbol Ipc_start, first referenced in ./Obj/TestAppEncoder.obj TestAppEncoder C/C++ Problem

    Would you please give me a sample which can run on ccs5?

  • Hi,

    Since JPEG Encoder is verified with the specific set of tools as listed below, please use the same versions instead of changing to the newer versions.

    bios_6_31_00_18

    framework_components_3_20_02_29

    xdctools_3_20_08_88

    Please correct the above, clean the build, and then retry the compilation. If there are still errors, please provide the complete log from the very beginning.

    Thanks,

    Hongmei

  • Hi Hongmei,

    I change the bios,framework and xdctools to the same version. 

        BIOS_CG_ROOT    "C:\Program Files\Texas Instruments\bios_6_31_00_18"

        FRAMEWORK_ROOT    "C:\Program Files\Texas Instruments\framework_components_3_20_02_29"

        XDC_ROOT    "C:\Program Files\Texas Instruments\xdctools_3_20_08_88"

    Then, Clean and rebuild, there are 6 errors as follow

        #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ... .xdchelp /TestAppEncoder 76 C/C++ Problem
        #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ... .xdchelp /TestAppEncoder 76 C/C++ Problem
        #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ... .xdchelp /TestAppEncoder 76 C/C++ Problem
        #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ... .xdchelp /TestAppEncoder 76 C/C++ Problem
        #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ... .xdchelp /TestAppEncoder 76 C/C++ Problem
        Linking failed. Check the Console window for details. TestAppEncoder Unknown C/C++ Problem

    Double click the error, it pop up "Quick Fix" dialog, and prompted "var target = xdc.useModule('target');"

    Details see attachment.

    **** Build of configuration Debug for project TestAppEncoder ****
    
    C:\Program Files\Texas Instruments\ccsv5\utils\gmake\gmake -k all 
    'Building file: ../JpegEncApp6678.cfg'
    'Invoking: XDCtools'
    "C:/Program Files/Texas Instruments/xdctools_3_20_08_88/xs" --xdcpath="C:/Program Files/Texas Instruments/ipc_1_22_03_23/packages;C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\Repository\Packages;C:\Program Files\Texas Instruments\bios_6_31_00_18\packages;C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages;C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages;C:/Program Files/Texas Instruments/framework_components_3_20_02_29/packages;C:/Program Files/Texas Instruments/framework_components_3_20_02_29/examples;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platform.custom66x -r whole_program -c "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000" ti.platform.custom66x "../JpegEncApp6678.cfg"
    Usage: xs xdc.tools.configuro [--help]
    	[-v | -q]
    	[-@ optionsfile]
    	[-o outdir]
    	[-b config_bld | -c codegen_dir | --cb]
    	[-t target] [-p platform[:instance]] [-r profile]
    	[-Dname=value]
    	[-w | -x regexp]
    	[--rtsName pkg_name]
    	[--cfgArgs args_string]
    	[--linkTemplate linker_template]
    	[--tcf] [--bios5] [--pkg] [--generationOnly]
    	[--compileOptions compile_options_string]
    	[--oc compiler.opt] [--ol linker.cmd]
    	infile.cfg
    'Finished building: ../JpegEncApp6678.cfg'
    ' '
    'Building file: C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/TestAppConfigParser.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" --abi=eabi -mv6600 -g --define=C6000 --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\..\Inc" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\Test\Inc" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\xdctools_3_20_08_88\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages\ti\sdo\fc\utils\api" --diag_warning=225 --gen_func_subsections=on --abi=eabi --strip_coff_underscore --temp_directory=".\Obj" --obj_directory=".\Obj" --asm_directory=".\Obj" --preproc_with_compile --preproc_dependency="TestAppConfigParser.pp" --cmd_file="./configPkg/compiler.opt"  "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/TestAppConfigParser.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages\xdc/std.h", line 76: fatal error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    
    1 fatal error detected in the compilation of "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/TestAppConfigParser.c".
    >> Compilation failure
    Compilation terminated.
    gmake: *** [Obj/TestAppConfigParser.obj] Error 1
    'Building file: C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/TestAppEncoder.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" --abi=eabi -mv6600 -g --define=C6000 --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\..\Inc" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\Test\Inc" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\xdctools_3_20_08_88\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages\ti\sdo\fc\utils\api" --diag_warning=225 --gen_func_subsections=on --abi=eabi --strip_coff_underscore --temp_directory=".\Obj" --obj_directory=".\Obj" --asm_directory=".\Obj" --preproc_with_compile --preproc_dependency="TestAppEncoder.pp" --cmd_file="./configPkg/compiler.opt"  "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/TestAppEncoder.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages\xdc/std.h", line 76: fatal error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    
    1 fatal error detected in the compilation of "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/TestAppEncoder.c".
    >> Compilation failure
    Compilation terminated.
    gmake: *** [Obj/TestAppEncoder.obj] Error 1
    'Building file: C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/alg_create.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" --abi=eabi -mv6600 -g --define=C6000 --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\..\Inc" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\Test\Inc" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\xdctools_3_20_08_88\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages\ti\sdo\fc\utils\api" --diag_warning=225 --gen_func_subsections=on --abi=eabi --strip_coff_underscore --temp_directory=".\Obj" --obj_directory=".\Obj" --asm_directory=".\Obj" --preproc_with_compile --preproc_dependency="alg_create.pp" --cmd_file="./configPkg/compiler.opt"  "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/alg_create.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages\xdc/std.h", line 76: fatal error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    
    1 fatal error detected in the compilation of "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/alg_create.c".
    >> Compilation failure
    Compilation terminated.
    gmake: *** [Obj/alg_create.obj] Error 1
    'Building file: C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/alg_malloc.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" --abi=eabi -mv6600 -g --define=C6000 --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\..\Inc" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\Test\Inc" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\xdctools_3_20_08_88\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages\ti\sdo\fc\utils\api" --diag_warning=225 --gen_func_subsections=on --abi=eabi --strip_coff_underscore --temp_directory=".\Obj" --obj_directory=".\Obj" --asm_directory=".\Obj" --preproc_with_compile --preproc_dependency="alg_malloc.pp" --cmd_file="./configPkg/compiler.opt"  "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/alg_malloc.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages\xdc/std.h", line 76: fatal error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    
    1 fatal error detected in the compilation of "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/alg_malloc.c".
    >> Compilation failure
    Compilation terminated.
    gmake: *** [Obj/alg_malloc.obj] Error 1
    'Building file: C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/ijpegenc.c'
    'Invoking: C6000 Compiler'
    "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" --abi=eabi -mv6600 -g --define=C6000 --include_path="C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\..\Inc" --include_path="C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Build/TestAppEncoder\..\..\Test\Inc" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages" --include_path="C:\Program Files\Texas Instruments\xdctools_3_20_08_88\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages" --include_path="C:\Program Files\Texas Instruments\bios_6_31_00_18\packages\ti\bios\include" --include_path="C:\Program Files\Texas Instruments\framework_components_3_20_02_29\packages\ti\sdo\fc\utils\api" --diag_warning=225 --gen_func_subsections=on --abi=eabi --strip_coff_underscore --temp_directory=".\Obj" --obj_directory=".\Obj" --asm_directory=".\Obj" --preproc_with_compile --preproc_dependency="ijpegenc.pp" --cmd_file="./configPkg/compiler.opt"  "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/ijpegenc.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "C:\Program Files\Texas Instruments\framework_components_3_20_02_29\fctools\packages\xdc/std.h", line 76: fatal error: #error xdc_target_types__ must be defined to name a target-specific header containing definitions of xdc_Int8, xdc_Int16, ...
    
    1 fatal error detected in the compilation of "C:/Program Files/Texas Instruments/Codecs/C66x_jpegenc_02_02_00_01_ELF/packages/ti/sdo/codecs/jpegenc/App/Client/Test/Src/ijpegenc.c".
    >> Compilation failure
    Compilation terminated.
    gmake: *** [Obj/ijpegenc.obj] Error 1
    gmake: Target `all' not remade because of errors.
    

  • Hi,

    According to the log, the "xdc.tools.configuro" command is not correctly executed due to the extra "ti.platform.custom66x" as highlighted below.

    "... xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platform.custom66x -r whole_program -c "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000" ti.platform.custom66x "../JpegEncApp6678.cfg".

    Can you please check your project settings to see if this extra "ti.platform.custom66x" can be removed?

    Two other observations from your log:

    1) the cgtool used for compilation is the default one coming with CCS: "C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000". Can you please change that to "Code Generation Tool version 7.2.2" as specified in JPEGENC docs?

    2) for RTSC "Products and Repositories", please have only items under "Other Repositories" checked as shown below. 

  • Hi hongmei,

        Problem resolved. Thanks a lot. 

  • Hi I have exactly the same problem, but my problem does not solve.

    I use CCS5.2.0.

    Do you have any suggestion

  • Hi Lucifar,

    Please clean and rebuild the test application, and provide the complete log from the very beginning of the compilation.

    Thanks,

    Hongmei