• 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 » StarterWare » StarterWare forum » Options for compiling StarterWare for OMAP-L138 ARM
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

Forums

Options for compiling StarterWare for OMAP-L138 ARM

This question is answered
Jim Nalasco
Posted by Jim Nalasco
on Jan 18 2012 11:59 AM
Prodigy70 points

Hi,

I noticed that CCS cannot be used to compile the Ethernet and USB examples for the ARM core.

Can IAR EWARM be used? If so how.

What other options exist to compile the Ethernet and USB examples for the ARM core?

Thanks

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on Jan 18 2012 22:21 PM
    Expert4435 points

    HI,

              CCS can not be used to compile the projects for OMAP-L138/AM1808, Since it lacks unaligned support for these SoC's.

              You can use GCC or IAR for compiling the projects. For more help on how to use these projects with IAR or GCC please refer this link.

               For information on tools please refer this link.

    Regards

    Baskaran

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jim Nalasco
    Posted by Jim Nalasco
    on Jan 19 2012 07:31 AM
    Prodigy70 points

    Please expalin further how the IAR zip file can be used with the OPMAP-L138. The zipped files are related to the AM335x which is cortex A8 but  the OMAP and 1808 parts have an ARM9.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on Jan 19 2012 07:48 AM
    Expert4435 points

    Hi,

          Sorry, i pointed to the link for AM335x. Actually due to some changes happened in StarterWare we have not supported IAR in the latest releases. so as of now only GCC is supported for USB and ethernet examples.

    Regards

    Baskaran

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jim Nalasco
    Posted by Jim Nalasco
    on Jan 19 2012 09:40 AM
    Prodigy70 points

    Is there something specific about the compiler that makes incompatible with the ARM in the OMAP or is it just related to the alignment issue previously mentioned. In other words is IAR "safe" for the non USB and Ethernet code?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Baskaran Chidambaram
    Posted by Baskaran Chidambaram
    on Jan 19 2012 11:04 AM
    Verified Answer
    Verified by Baskaran Chidambaram
    Expert4435 points

    IAR is safe for all the applications including USB and Ethernet. It just that we couldnt sufficient time (due to other priorities) to add IAR support for ARM part of OMAP-L138.

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Slava Bogulmintsev
    Posted by Slava Bogulmintsev
    on Feb 14 2012 06:33 AM
    Prodigy60 points

    I have successfully compiled and ran usb_dev_bul example for ARM core of OMAP-L138 with CCS TI code generation tools.

    1) CCS v5.1.0.09
    2) compiler version TI v4.9.1
    3) set Language Options -> Enable support for GCC extensions (--gcc)
    4) set Runtime Model Options -> Generate unaligned loads and stores (--unaligned_acess) = on
    5) trivial patch usblib.h as: 

      #warning The packed attribute is not supported by this version of the TI ARM CGT.
             Please upgrade to version 5.x or use an alternate toolchain instead.
      //#define PACKED
      #define PACKED __attribute__ ((packed))

    6) recompile necessary libraries and example with new buid options

    It seems that SDOCM00080255 is wrong because compiler 4.9.1 can use packed data (for AM180x).

    StarterWare USB
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Dave Coplin
    Posted by Dave Coplin
    on Jan 28 2013 15:31 PM
    Prodigy10 points

    I tried this procedure on the usblib static library project and received the following (20) errors:

    "Option --unaligned_access=on is not valid with -mv4|5e"   

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Vineeth Balan
    Posted by Vineeth Balan
    on Jan 29 2013 00:43 AM
    Prodigy630 points

    Hello Dave 

     Please install the latest CCS Version: 5.3.0.00090 from 

    http://processors.wiki.ti.com/index.php/Download_CCS.

    This version of CCS has the TI ARM C/C++ Compiler v5.0.1 which provides support for unaligned accesses in case, the hardware does not support it. Previous versions of the compiler say 4.9 did not have support for this.

    You would of course have to

    1. Modify the individual build properties of all libs and examples ( usblib, system, platform etc) to enable “--gcc” extension. This can be found under  - ARM Compiler -> Advanced Options. Failure to do so would result in compilation errors.
    2. Ensure that the you are using the new compiler, 
    • Compiler, linker and archiver should point to the new binaries 

               CCS5.3\ccsv5\tools\compiler\arm_5.0.1\bin\armcl

               CCS5.3\ccsv5\tools\compiler\arm_5.0.1\bin\armar

     

    cheers !

    Vineeth

    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