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 locate the package but tge XDC paths is defined

Other Parts Discussed in Thread: CCSTUDIO

When I compile the example I have the error message "can't locate the package 'ti.bios'" (below the build log). However the path is defined (two times I don't know why).

Info: running XDC configuration using package path:
[...]
C:\CCStudio_v3.3\bios_5_33_04\packages
C:\CCStudio_v3.3\bios_5_33_04\packages

[...]

so the reason why the package cannot be located is quite obscure to me.

I installed all the packages, I configured the component manager for the Bios I am using and I set the envirnonment variables including BIOS_INSTALL_DIR

After more than 2 days of fighting I understand that the package path is defined under xdcpaths.dat. Then xdcpaths.dat loads psp_xdcpaths_common.dat which does not contains any information about the path I need. So I modified the psp_xdcpaths_common.dat in order to include the path i need (C:\CCStudio_v3.3\bios_5_33_04\packages) but I had the same error.

So why this package is not loaded? Where have I to set the "C:\CCStudio_v3.3\bios_5_33_04\packages"?

Thank you to everyone.

 

Below the build log:

-------------------  c6424_evm_bios_sample_out.pjt - Debug  -------------------
[c6424_evm_bios_sample_out.cfg] "C:\Programmi\Texas Instruments\xdctools_3_15_00_50\xs.exe" xdc.tools.configuro.ccs  --xdcpathsfile="xdcpaths.dat" -tti.targets.C64P -pti.platforms.evm6424 -rdebug --tcf -Dconfig.importPath="../;C:/CCStudio/Boards/ST417/pspdrivers_1_10_03/packages/ti/sdo/pspdrivers/system/c6424/bios/evm6424/citofono/build/..;C:/CCStudio/Boards/ST417/pspdrivers_1_10_03/packages/;C:/CCStudio_v3.3/ndk_2_0_0/packages/ti/ndk/inc/tci" -w -c "C:/CCStudio_v3.3/C6000/cgtools" --xp "C:/CCStudio_v3.3/bios_5_33_04/packages" -o "xdcconfig" c6424_evm_bios_sample_out.cfg

Info: running XDC configuration using package path:
C:\Programmi\Texas Instruments\edma3_lld_01_06_00_01\packages
C:\CCStudio\boards\ST417\pspdrivers_1_10_03\packages
C:\CCStudio_v3.3\bios_5_33_04\packages
C:\CCStudio_v3.3\bios_5_33_04\packages
C:\Programmi\Texas Instruments\xdctools_3_15_00_50\package
C:\Programmi\Texas Instruments\xdctools_3_15_00_50\packages


The configuration step is now running:

configuring c6424_evm_bios_sample_out.x64P from package/cfg/c6424_evm_bios_sample_out_x64P.cfg ...
js: "./package/cfg/c6424_evm_bios_sample_out_x64P.cfg", line 715: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.bios' along the path: 'C:/PROGRA~1/TEXASI~1/XDCTOO~1/package;C:/CCStudio/Boards/ST417/pspdrivers_1_10_03/packages/ti/sdo/pspdrivers/system/c6424/bios/evm6424/citofono;C:/CCStudio/Boards/ST417/pspdrivers_1_10_03/packages;C:/CCStudio_v3.3/ndk_2_0_0/packages/ti/ndk/inc/tci;C:/PROGRA~1/TEXASI~1/XDCTOO~1/packages;..;'. Ensure that the package path is set correctly.
xdctools_3_15_00_50\gmake.exe: *** [package/cfg/c6424_evm_bios_sample_out_x64P.c] Error 1
js: "C:/Programmi/Texas Instruments/xdctools_3_15_00_50/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro.ccs: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.