• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » BIOS » BIOS forum » XDC.PACKAGE_NOT_FOUND while debugging my examle
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

XDC.PACKAGE_NOT_FOUND while debugging my examle

This question is answered
ahmed abouzaid
Posted by ahmed abouzaid
on Aug 16 2012 23:24 PM
Intellectual625 points

hello;

while debugging the hyperlink example at bios5.03 there is an error
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.    memoryMappedExample.cfg    ‪/hyplnk_exampleProject‬    37    C/C++ Problem

and there is a warning
Invalid 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.out
RMDIR /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 188
gmake.exe: *** [package/cfg/memoryMappedExample_pe66.xdl] Error 1
Warning: directory "D:/packages" on package path does not exist
js: "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 1
gmake: Target `all' not remade because of errors.




Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Aug 16 2012 23:49 PM
    Genius15150 points

    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 output
    Warning: directory "D:/packages" on package path does not exist
    it 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.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmed abouzaid
    Posted by ahmed abouzaid
    on Aug 17 2012 06:15 AM
    Intellectual625 points

    thanks Sasha,this is screenshot and wish to help me

    Sasha Slijepcevic
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Aug 17 2012 12:12 PM
    Verified Answer
    Verified by ahmed abouzaid
    Genius15150 points

    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.

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmed abouzaid
    Posted by ahmed abouzaid
    on Aug 17 2012 19:26 PM
    Intellectual625 points

    I didn't find it so, how can i get it ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • abdalrahman ehsan
    Posted by abdalrahman ehsan
    on Aug 17 2012 20:17 PM
    Intellectual315 points

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Aug 17 2012 20:52 PM
    Genius15150 points

    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.

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmed abouzaid
    Posted by ahmed abouzaid
    on Aug 17 2012 22:20 PM
    Intellectual625 points

    Sasha, how to get the tab variables ?

    Sasha
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmed abouzaid
    Posted by ahmed abouzaid
    on Aug 18 2012 08:11 AM
    Intellectual625 points

    any idea for how to find it because i need to build this project as soon as possible ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • abdalrahman ehsan
    Posted by abdalrahman ehsan
    on Aug 18 2012 13:09 PM
    Intellectual315 points

    Dear Sasha,
    here you are.
    i hope it is useful for you

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmed abouzaid
    Posted by ahmed abouzaid
    on Aug 18 2012 20:31 PM
    Intellectual625 points

    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 ?



    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmed abouzaid
    Posted by ahmed abouzaid
    on Aug 19 2012 02:41 AM
    Intellectual625 points

    Thanks Sasha, i build the project successfully

    thanks for your help

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ahmed abouzaid
    Posted by ahmed abouzaid
    on Aug 24 2012 09:39 AM
    Intellectual625 points

    Hello Sasha;

    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

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sasha Slijepcevic
    Posted by Sasha Slijepcevic
    on Aug 24 2012 12:15 PM
    Genius15150 points

    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.

    If my reply answers your question please mark the thread as answered.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use