hello;
while debugging the hyperlink example at bios5.03 there is an errorcan't locate the package 'ti.drv.hyplnk' along the path: 'D:/TI/CCS5.03/ipc_1_22_03_23/packages;D:/TI/CCS5.03/bios_6_31_04_27/packages;D:/packages;D:/TI/CCS5.03/xdctools_3_22_04_46/packages;..;'. Ensure that the package path is set correctly. memoryMappedExample.cfg /hyplnk_exampleProject 37 C/C++ Problem
and there is a warningInvalid project path: Include path not found (\packages). hyplnk_exampleProject pathentry Path Entry Problem
so can anyone helping me in solving these problems
and this is the configuration
**** Clean-only build of configuration Debug for project hyplnk_exampleProject ****D:\TI\CCS5.03\ccsv5\utils\gmake\gmake -k clean DEL /F "configPkg\compiler.opt" "configPkg\linker.cmd" "hyplnk_exampleProject.out"Could Not Find D:\TI\MCSDK\pdk_C6678_1_0_0_17\packages\ti\drv\exampleProjects\hyplnk_exampleProject\Debug\hyplnk_exampleProject.outRMDIR /S/Q "configPkg\" DEL /F "hyplnkExample.pp" "hyplnkIsr.pp" "hyplnkLLDIFace.pp" DEL /F "hyplnkExample.obj" "hyplnkIsr.obj" "hyplnkLLDIFace.obj" 'Finished clean'' '**** Build of configuration Debug for project hyplnk_exampleProject ****D:\TI\CCS5.03\ccsv5\utils\gmake\gmake -k all 'Building file: D:/TI/MCSDK/pdk_C6678_1_0_0_17/packages/ti/drv/hyplnk/example/memoryMappedExample/memoryMappedExample.cfg''Invoking: XDCtools'"D:/TI/CCS5.03/xdctools_3_22_04_46/xs" --xdcpath="D:/TI/CCS5.03/ipc_1_22_03_23/packages;D:/TI/CCS5.03/bios_6_31_04_27/packages;/packages;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -b "D:/TI/MCSDK/pdk_C6678_1_0_0_17/packages/ti/drv/exampleProjects/hyplnk_exampleProject/.config/xconfig_memoryMappedExample/config.bld" -c "D:/TI/CCS5.03/ccsv5/tools/compiler/c6000" "D:/TI/MCSDK/pdk_C6678_1_0_0_17/packages/ti/drv/hyplnk/example/memoryMappedExample/memoryMappedExample.cfg"making package.mak (because of package.bld) ...generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...configuring memoryMappedExample.xe66 from package/cfg/memoryMappedExample_pe66.cfg ...js: "D:/TI/MCSDK/pdk_C6678_1_0_0_17/packages/ti/drv/hyplnk/example/memoryMappedExample/memoryMappedExample.cfg", line 37: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.drv.hyplnk' along the path: 'D:/TI/CCS5.03/ipc_1_22_03_23/packages;D:/TI/CCS5.03/bios_6_31_04_27/packages;D:/packages;D:/TI/CCS5.03/xdctools_3_22_04_46/packages;..;'. Ensure that the package path is set correctly. "./package/cfg/memoryMappedExample_pe66.cfg", line 201 "./package/cfg/memoryMappedExample_pe66.cfg", line 280 "./package/cfg/memoryMappedExample_pe66.cfg", line 188gmake.exe: *** [package/cfg/memoryMappedExample_pe66.xdl] Error 1Warning: directory "D:/packages" on package path does not existjs: "D:/TI/CCS5.03/xdctools_3_22_04_46/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.gmake: *** [configPkg/compiler.opt] Error 1gmake: Target `all' not remade because of errors.
What seems to be missing from your package path is D:/TI/MCSDK/pdk_C6678_1_0_0_17/packages. From this part of the outputWarning: directory "D:/packages" on package path does not existit appears that you used an environment variable to specify that component of the package path, but the environment variable is undefined. Can you post the screenshot of the RTSC tab in Project->Properties->CCS Build->RTSC, or at least can you describe which product and repositories are listed there?
I don't have CCSv5.03 installed, so I am not sure if the path to the RTSC tab is exactly as I typed above, but you should be able to find it quickly going through the project properties.
If my reply answers your question please mark the thread as answered.
thanks Sasha,this is screenshot and wish to help me
Where did you define $(TI_PDK_C6678_INSTALL_DIR)? CCS is not finding the definition for that variable, and that's the cause of the error in your build. Find the tab Variables, and check if that variable is defined there. Most likely it's not, so you need to add it and set it to D:/TI/MCSDK/pdk_C6678_1_0_0_17.
Here is that tab in the CCS version that I am using. It may look little bit different in your CCS.
I didn't find it so, how can i get it ?
Dear Sasha,
may i help?i find the example and tried it . it was built with no errors and i did find the variable you mentioned and its type was directory and its value is G:\Texas Instruments\pdk_C6670_1_0_0_17 how can i help Ahmed and send it to him ??!!i hope it is useful for you
Thanks for helping. Can you post the screenshot of the project properties where you defined the variable? If you post it in this thread Ahmed will be able to see it and replicate your settings.
Sasha, how to get the tab variables ?
any idea for how to find it because i need to build this project as soon as possible ?
Dear Sasha,here you are.i hope it is useful for you
Hello Sasha;
i added the define(TI_PDK_C6678_INSTALL_DIR) to C:/TI/MCSDK/pdk_C6678_1_0_0_17 (i uninstall the CCS&MCSDK and install them again )and there are errors as following
errors encountered during linking; "hyplnk_exampleProject.out" not built hyplnk_exampleProject
Linking failed. Check the Console window for details. hyplnk_exampleProject Unknown
placement fails for object ".args", size 0x200 (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
placement fails for object ".cinit", size 0x9e (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
placement fails for object ".csl_vect", size 0x5ff (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
placement fails for object ".switch", size 0x45 (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
run placement fails for object ".cio", size 0x123 (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
run placement fails for object ".far", size 0x664 (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
run placement fails for object ".fardata", size 0x29e (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
run placement fails for object ".sysmem", size 0x2000 (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject run placement fails for object "GROUP_1", size 0x4268 (page 0). Available ranges: L2SRAM size: 0x80000 unused: 0x0 max hole: 0x0 hyplnk_exampleProject
and there is a warning :Invalid project path: Duplicate path entries found (/hyplnk_exampleProject [Include path] isSystemInclude:true includePath:C:/TI/MCSDK/pdk_C6678_1_0_0_17/packages), path: [/hyplnk_exampleProject].
and this is a snapshot of so in your opinion what is the problem ?
Thanks Sasha, i build the project successfully
thanks for your help
i add the defines but there is still warning as following :Invalid project path: Duplicate path entries found (/hyplnk_exampleProject [Include path] isSystemInclude:true includePath:C:/TI/pdk_C6670_1_0_0_17/packages), path: [/hyplnk_exampleProject].
and there is RTSC
I can build the example but in debugging there is an error So,i afraid that this warning lead to can't work the example ?
So,can you help me in solving this warning ,thanks in advance
Ahmed, the warning is most likely not the cause of the error in your app. There is an Eclipse bug about the warning: https://bugs.eclipse.org/bugs/show_bug.cgi?id=158940. One place where you could check for duplicate paths is in Project->Properties->CCS Build->Compiler->Include Options. If you have duplicate include paths there, you can remove duplicates. To see all include paths, expand Includes tree in your project, as I did in the attached picture. However, all this doesn't affect your build.