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.

Problems with building Codec Engine examples for DM3730/WinCE 6

Other Parts Discussed in Thread: DM3730

Hello,

I am trying to run the Codec Engine examples in dvsdk_wince_01_11_00_03_patch_01 on DM3730 EVM/WinCE 6 and got the following build errors:

config.bld: Running the version from Codec Engine Examples.

js: "C:/ti/bios_5_32_04/xdctools/packages/xdc/xdc.tci", line 275: exception from uncaught JavaScript throw: Error: xdc.l

oadPackage: can't find package 'microsoft.targets.arm' along the path 'C:/Tools/CEexamples/examples/ti/sdo/ce/examples/c

odecs/viddec1_copy/../../../../../..;C:/WINCE600/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/codec_engine_2_26_01_09/p

ackages;C:/WINCE600/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/xdais_6_26_01_03/packages;C:/WINCE600/3rdParty/dvsdk_w

ince_01_11_00_03_patch_01/src/winceutils_1_01_00_01/packages;C:/WINCE600/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/f

ramework_components_2_26_00_01/packages;C:/WINCE600/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/biosutils_1_02_02/pack

ages;C:/WINCE600/3rdParty/dvsdk_wince_01_11_00_03_patch_01/src/edma3_lld_01_11_00_03/packages;C:/ti/bios_5_32_04/package

s;C:/ti/bios_5_32_04/xdctools/packages;../../../../..;'; try redefining the package path (XDCPATH).

"C:/ti/bios_5_32_04/xdctools/packages/xdc/xdc.tci", line 455

"C:/ti/bios_5_32_04/xdctools/packages/xdc/xdc.tci", line 586

"C:/Tools/CEexamples/examples/ti/sdo/ce/examples/buildutils/Platforms.xs", line 66

The BSP I am using is BSP_WINCE_ARMA8 1.02.00.02. My xdcpath.mak file is attached.

Thanks,

Ying

 

  • The xdcpaths.mak file you attached doesn't look like one you've edited to define dependency locations - it doesn't have assignments for the necessary _INSTALL_DIR variables.

    Fundamentally, the BIOS and XDC versions you're using are probably too old.  CE 2.26.01.09 Release Notes list BIOS 5.41.00.06 and XDC 3.16.00.18.  I would expect these to be included in your DVSDK distribution.

    The 'microsoft.targets.arm' package that can't be found is shipped with XDC, so updating to the appropriate dependencies should help.

    Chris

  • Ying,

    From your build error, it looks like you don't have the XDC tools install directory set up correctly in xdcpaths.mak.  There is a build_instructions_wince.html file in the Codec Engine examples directory that tells you what you need to set up.  Also, the xdcpaths.mak file has comments for variables that you need to set.  In xdcpaths.mak, you have:

    # (Mandatory) Specify where various components are installed. # What you need depends on what device(s) you're building for, what type(s) of # programs you are building for, and whether your Codec Engine distribution # includes a "cetools" directory. The legend: # CE - Codec Engine (needed for ARM and for DSP) # XDC - XDC tools (ARM and DSP) # BIOS - DSP/BIOS (DSP only) # DSPLINK - Arm<->DSP communication software (ARM + DSP) # XDAIS - XDAIS header files (ARM and DSP) # FC - Framework Components, various resource managers (ARM and DSP) # CMEM - Contiguous memory manager (ARM only) # BIOSUTILS - DSP BIOS Utilities (including CPU load monitor) (DSP only) # EDMA3_LLD - EDMA3 Low Level Driver and resource manager (ARM and DSP) # LPM - Local Power Manager (ARM + DSP) # # you can omit directory specifications for the components you think you don't # need (will be warned if you do, based on your DEVICES + PROGRAMS selection # above). CE_INSTALL_DIR := _your_CE_installation_directory_/codec_engine_2_26_01_09 XDC_INSTALL_DIR := _your_XDCTOOLS_installation_directory/xdctools_3_16_00_18 BIOS_INSTALL_DIR := _your_BIOS_installation_directory/bios_5_41_00_06 DSPLINK_INSTALL_DIR := _your_DSPLink_installation_directory/dsplink-1_64-prebuilt
    
    If your Codec Engine has a cetools directory, the above variables are the only install directories you need to set. Also, you may want to set the DEVICES variable
    (to OMAP3530), and GPPOS to WINCE.

    Best regards,

    Janet


  • Ying,

    Sorry for the bad formatting in my previous post.  I don't know what happened.  Here is what it was supposed to be:

    # (Mandatory) Specify where various components are installed.
    # What you need depends on what device(s) you're building for, what type(s) of
    # programs you are building for, and whether your Codec Engine distribution
    # includes a "cetools" directory. The legend:
    # CE - Codec Engine (needed for ARM and for DSP)
    # XDC - XDC tools (ARM and DSP)
    # BIOS - DSP/BIOS (DSP only)
    # DSPLINK - Arm<->DSP communication software (ARM + DSP)
    # XDAIS - XDAIS header files (ARM and DSP)
    # FC - Framework Components, various resource managers (ARM and DSP)
    # CMEM - Contiguous memory manager (ARM only)
    # BIOSUTILS - DSP BIOS Utilities (including CPU load monitor) (DSP only)
    # EDMA3_LLD - EDMA3 Low Level Driver and resource manager (ARM and DSP)
    # LPM - Local Power Manager (ARM + DSP)
    #
    # you can omit directory specifications for the components you think you don't
    # need (will be warned if you do, based on your DEVICES + PROGRAMS selection
    # above).

    CE_INSTALL_DIR := _your_CE_installation_directory_/codec_engine_2_26_01_09
    XDC_INSTALL_DIR := _your_XDCTOOLS_installation_directory/xdctools_3_16_00_18
    BIOS_INSTALL_DIR := _your_BIOS_installation_directory/bios_5_41_00_06
    DSPLINK_INSTALL_DIR := _your_DSPLink_installation_directory/dsplink-1_64-prebuilt
     
    Best regards,

    Janet
  • Hi Janet/Chris,

    Sorry I attached the original unmodified .mak file. My path was set to something like the following via system variables:

    CE_INSTALL_DIR=C:\WINCE600\3rdParty\dvsdk_wince_01_11_00_03_patch_01\src\codec_engine_2_26_01_09
    TI_TOOLS_BASE_DIR  == C:\Tools\dsplink_1_64
    BIOS_INSTALL_DIR == C:\ti\bios_5_32_04
    XDC_INSTALL_DIR == C:\ti\bios_5_32_04\xdctools
    CODEGEN_INSTALL_DIR == C:\Tools\C6000 Code Generation Tools 6.1.20

    I will double check my path.

    Another question: Since Chris mentioned that the DVSDK is too old and my goal is to write some DSP algorithms using the Code Engine framework, should I start with the latest CE version Codec_Engine 2_26_02_11 then grab the dependency packages OR the latest DVSDK? I assumed that the Lite version of CE in the DVSDK may not be sufficient?

    Thanks,

    Ying

    P.S. The local .mak file I used outside the DVSDK enviornment is attached for review.