• 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 » Development Tools » Code Composer Studio » Code Composer Forum » CCSv4 and LogicPD's EVM board
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    CCSv4 and LogicPD's EVM board

    This question is answered
    Walter Snafu
    Posted by Walter Snafu
    on Feb 19 2010 16:03 PM
    Expert2715 points

    On LogicPD's website, they provide a file -- 1014013A_OMAP-L138_GEL_BSL_Files -- containing lots of essential information useful for using their OMAP-L138 EVM board with CCS.  Such as lots of header files, test files, GEL files, a linker command file, and a library. This information is essential for CCS to effectively use their EVM board. 

    I've followed their accompanying installation instructions, but nonetheless, CCSv4 doesn't seem to find those files.  I presume CCS needs some kind of path or environment variable set, so it knows where to find these files.  ???

    I appreciate any help you may offer.

     

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Feb 24 2010 14:38 PM
      Guru116780 points

      Walter,

      I use PSPad as my editor. But many people use the v4 editor without issue. Can you attach your linker command fine again? I want to do a diff

      ki

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Walter Snafu
      Posted by Walter Snafu
      on Feb 24 2010 16:20 PM
      Expert2715 points

      Ki,

      Here is my linker_dsp.cmd file.  It is three bytes larger than your file, but the differences are invisible to the eye (in the CCSv4 editor and MS Notepad).

      [P.S.  The "Insert Media" command does not appear to be working.  I've tried uploading my file five times now, and it doesn't seem to show up.  What's up?]

       

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Feb 24 2010 16:24 PM
      Guru116780 points

      Hit the Options link and use the File Attachment option to upload the file

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Walter Snafu
      Posted by Walter Snafu
      on Feb 24 2010 16:51 PM
      Expert2715 points
      linker_dsp.zip

      Did the file upload yet?

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Feb 24 2010 17:09 PM
      Guru116780 points

      Yup. Got it. I did a diff using a diff tool and the tool said that my cmd and your is different. But when the diff tool then opened up both files side-by-side, the files looked identical. I even enabled display of special characters and still the same. But dropping in your file in my folder, i got the same linker error. So I open your cmd file again in my editor and used the built it DOS format conversion tool and saved the file. The errors went away.

      I don't know how that cmd file was some format besides DOS (Unix? Mac?). Do you use another machine besides PC? Maybe you have some setting for defualt file format and it is not DOS?

       

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Walter Snafu
      Posted by Walter Snafu
      on Feb 24 2010 18:29 PM
      Expert2715 points

      I'm using a PC Windows XP.  Nothing unual.  Not Linux, Unix, or Mac.

      Very strange symptoms on this problem. 

      So I tried another experiment.  I took Ki's linker_dsp.cmd file into my CCSv4 editor, made some insignificant change, saved it, and it re-built fine.

      I did did the same using the MS Notepad editor, it re-built fine.

      Whatever was weird in that file, it was both invisible and unaffected by these editors.  That is, once the weirdness got into the file, these editors neither displayed it, detected it, nor fixed it.  The editors simply pass along the weirdness to any daughter file, like some kind of genetic defect.   

      I don't know how the weirdness got into that file. So far, we can't even tell what the weirdness is -- except by the fact that it causes the linker failure.  It's like a new kind of computer parasite that we don't know how to detect. We just know it is within some files, and not others -- and editors don't eliminate it. 

      Meantime, I just copied Ki's version of the file into all the many directories where it is needed. So at least I have a working system now.

      Very strange.  I'm curious what the explanation finally is. Let me know how it turns out.

      Thanks for all your help!!!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • peter_ne
      Posted by peter_ne
      on Feb 25 2010 01:38 AM
      Prodigy40 points

      Use a binary editor to spot the differences. I am sure that if you use notepad to save the file in Ascii encoding everything is fine as well. Maybe the copyright sign (which is not ascii) triggers the editors to save it in one of the unicode formats with a byte order mark. The linker cannot make sense of this. Maybe TI (am am new to the platform but assume the linker is TI's) could update the linker so it handles this AND DOS/Unix line-ending?

      Peter

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Feb 25 2010 10:01 AM
      Guru116780 points

      I can spot the difference with a binary editor. Thee characters in the beginning of Walter's cmd file that does not exist in mine.

      Mine:

      Walter's:

      The original file from Logic PD does not have those extra characters either. Somehow, someway those characters got added when Walter modified the cmd file....

      strange!

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Feb 25 2010 10:07 AM
      Guru116780 points

      Ki-Soo Lee

      The original file from Logic PD does not have those extra characters either. Somehow, someway those characters got added when Walter modified the cmd file....

      strange!

      Actually not so strange:

      http://en.wikipedia.org/wiki/Byte_order_mark#Unwanted_BOMs

      http://www.howtofixcomputers.com/forums/windows-xp/extra-characters-beginning-file-ef-bb-bf-263070.html

       

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Walter Snafu
      Posted by Walter Snafu
      on Feb 25 2010 10:56 AM
      Verified Answer
      Verified by JohnS
      Expert2715 points

      Yes, I believe the problem characters were not in the original LogicPD linker_dsp.cmd file.  However, the wrong library path was there, so I was forced to edit the file to correct the path.  I used MS Notepad to do the edit.

      Here are my suspicions about those problem characters. I needed to get the correct library path, so I used MS Windows Explorer to locate the file and obtain its path. I simply copied the path from the address line (near the top of the window) in MS Windows Explorer, and pasted it into MS Notepad.  And saved the file. Quite simple, and ordinary.  Nothing fancy.  Perhaps something funny happens in that process? 

      Another suspicion centers on that 'copyright' character -- which is not a native ASCII character -- within the linker_dsp.cmd file.  It is there in Ki's file, and in mine -- but Ki's file worked, and mine didn't.  The copyright character obviously isn't the problem, but perhaps it causes the editors (Notepad and CCSv4) to handle the file in a fundamentally different way that enables the problem to materialize.  Just my suspicions here.

      ------

      Meanwhile, I am proceeding to use Ki's un-contaminated file, and all is working. I am grateful for that.  I am a happy guy. Thank you again to everyone.

      Here is my summary of the solution I learned here:

      • Edit the .pjt file from LogicPD, change the ProjectDir line to:  ProjectDir="$(Proj_dir)"
      • Edit the linker_dsp.cmp file to give the correct path to the library file: evmomapl138_bsl.lib
      • File>Import the LogicPD project as a "Legacy  CCSv3.3 Project" -- ignore its messages about the "migration.log" and "macros.ini" files. 
      • If the project fails to link due to an "unrecognized" linker_dsp.cmd file, then re-download a clean version of that file; edit some other way; and try again.  Or wait for TI to patch CCSv4.  ;-)  

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Feb 25 2010 11:15 AM
      Guru116780 points

      For grins, I opened my working cmd file in notepad and save the file (without doing anything). I noticed that those extra characters got added! And the of course the build failed. When I removed them, all was fine again.

      But I then tried the same with some other project's cmd file I had laying around and saving in notepad did not do anything. I really don't have an explanation for this.

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on Feb 25 2010 11:30 AM
      Guru116780 points

      Walter Snafu
      • Edit the .pjt file from LogicPD, change the ProjectDir line to:  ProjectDir="$(Proj_dir)"

      FYI - CCS 4.1.1 (which was released yesterday) has a fix where the above step is no longer necessary.

      -----------------------------------

      Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.

      Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.

      Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide

      Click here to track an issue. Enter your bug id in the "Find Record ID" box

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Walter Snafu
      Posted by Walter Snafu
      on Feb 25 2010 13:17 PM
      Expert2715 points

      Ki-Soo Lee

      For grins, I opened my working cmd file in notepad and save the file (without doing anything). I noticed that those extra characters got added! And the of course the build failed. When I removed them, all was fine again.

      But I then tried the same with some other project's cmd file I had laying around and saving in notepad did not do anything. I really don't have an explanation for this.

      Ki,

      Perhaps the "other project's cmd file" didn't have non-ASCII characters in it.  ???  The files we've been dealing with (from LogicPD) had at least two non-ASCII characters (or extended-ASCII characters?)  The copyright symbol, and the character before that (which is some type of foreign A symbol).

      I suspect that when non-ASCII characters are in the file, then the editor needs some way of encoding those, and that requires more than 8 bits.  And then the issue of endian-ness enters into the mix, and the three bytes at the beginning of the files tell the editor if it's an out-of-order endian-ness.  I may not have the details of that right, but I think we're homing in on the cause:  Non-ASCII characters, combined with endian issues.

       

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    123
    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