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.

hyperlink example



hi,

i am working with code composer studio Version: 5.0.1.201105110900  and working on windows XP. i want to use the hyperlink to connect two EVM's 6670. we started with the example found in this path
G:\Texas Instruments\pdk_C6670_1_0_0_17\packages\ti\drv\exampleProjects\hyplnk_exampleProject

i first selected project menu then import existing CCS/CCE Eclipse project and choosed the project. then i added a linker file i made and here is:
http://www.mediafire.com/?leehect1refnwel

"../LTEm1.cmd", line 33: error: L2SRAM memory range overlaps existing memory range L2SRAM

error: errors encountered during linking; "hyplnk_exampleProject.out" not built

which converted to the following in the problems window
errors encountered during linking; "hyplnk_exampleProject.out" not built
L2SRAM memory range has already been specified
L2SRAM memory range overlaps existing memory range L2SRAM
Linking failed. Check the Console window for details.
and the following warning:
Invalid project path: Duplicate path entries found (/hyplnk_exampleProject [Include path] isSystemInclude:true includePath:G:/Texas Instruments/pdk_C6670_1_0_0_17/packages), path: [/hyplnk_exampleProject].

ho to solve the problem?!!
looking forward for your illustrative and comprehensive asnwer

thank you in advance

  • I think that in your linker command file you re-define memories that are already defined in the platform definition.

    Try to remove the memory definition from the linker command file, and have only the section definition and see what happen

     

    please give me feedback on your observation

     

    Ran

  • hi Ran,

    thank you for your reply
    BUT do i need to add a new linker file or may i be satisfied with the existing one (which comes with the example) , in other words if i removed the linker i added any thing may change?? and where to find the existing one - in the platform definition?

    AND what about the warning??

    thank you in advance and looking forward for your response

  • I just built the example (for release 19,  I do not have release 17 on my system) and did not see any linker command file. 

    Here is my suggestion

     

    Try first to build the example excactly as it comes from the release. I assume that you installed all the tools and everything in the default locations. 

    Now I installed my release in c:\ti   - you did apparently in G:\Texas Instruments.  I will give you three screen captures that you can compare with yours (of course translate the  c:\ti to your location)   The first one is the list of link resource and you get it from the property page of the project at the resource tab.  The second one is the definition of the platform - again from the proprerty page, and the last one is the include paths.  What I am looking for is a descrepency between your setting and mine.

    Look at report back to me

     

    Thanks    Ran

     

     

    1682.threeScreenCapture.docx

     

  • Dear ran,
    i built the project as you suggested but there is a little difference between my settings and you this is the screen shots  in turn as you sent me

    looking forward for your response and thank you in advance

  • Dear ,

    i am looking forward for your response

    thank you in advance

  • Can you paste your warning ?

    Maybe there's a path you didn't configure...

  • hi Jhon,

    thank you for youe response

    Description  :
    Invalid project path: Duplicate path entries found (/hyplnk_exampleProject [Include path] isSystemInclude:true includePath:G:/Texas Instruments/pdk_C6670_1_0_0_17/packages), path: [/hyplnk_exampleProject].  

    Resource :  hyplnk_exampleProject

    path :

    location :  pathentry  

      type : Path Entry Problem

    looking forward for your help

    thank you in advance

  • Ho I had the same problem two days ago.

    I think it's a problem with the #define or whatever.

    Anyway to solve the problem, I changed my workspace directory and I imported the project.

    Try to do the same thing, maybe it will solve your problem too.

  • Dear Jhon Scott,

    i tried to change my workspace directory, reimported the example and tha same warning appeared after building
    Do you have any suggesstions?

    thank you for helping me

  • I'm sorry it had not solve your problem.

    You should post a new thread with the description of your problem. The solution I gave you worked for me and I'm not a professional so I don't have an other solution for your prolem I'm sorry.

  • Hi abdalrahman

    I believe you can safely ignore the "Invalid project path: duplicate path entries" warning.
    It seems to be an unresolved Eclipse bug; see http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/105388/372043.aspx#372043

    Other than the warning above, are you seeing any of the memory-map-related errors you initially reported or any other errors during compilation?

  • I was saying this because last day I got the same issue and my project didn't want to build.

    When I changed the workspace directory it build successfully. So maybe in certain cases you can "safley ignore" that warning, but in other cases, the problem come from this.