• 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 » StarterWare
Share
StarterWare
  • Forum
Options
  • Subscribe via RSS

Forums

StarterWare

This question is answered
Keldy
Posted by Keldy
on Apr 22 2012 05:18 AM
Expert1780 points

Hi,

Can i write a C program using the StarterWare Library and execute in the PSP u-boot ?

Thanks & Regards

Keldy

StarterWare AM335x
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 Apr 23 2012 01:48 AM
    Expert4435 points

    Hi Keldy,

               Yes you can load StarterWare aplication binary from u-boot and execute. You need to use <app>.bin (NOT app_ti.bin).

    Regards

    Baskaran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Keldy
    Posted by Keldy
    on Apr 23 2012 03:02 AM
    Expert1780 points

    Hi Baskaran,

    i'm using sdk version : ti-sdk-am335x-evm-05.03.00.00, u-boot version: u-boot-2011.09-psp04.06.00.02.

    How to load the binary file to u-boot ?

    How to execute the binary file in u-boot ?

    Thanks and Regards

    Keldy

    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 Apr 23 2012 09:41 AM
    Verified Answer
    Verified by Keldy
    Expert4435 points

    copy the binary to mmc from host pc.

    In u-boot prompt,

    mmc rescan

    fatload mmc 0 <address in ddr> <name of file on sd card to load to ddr>

    go <address where the executable was loaded>

    Regards

    Baskaran

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Keldy
    Posted by Keldy
    on Apr 23 2012 20:41 PM
    Expert1780 points

    Hi Baskaran

    It works, Thanks.

    In StarterWare, How to compile an <app>.c file to output the <app>.bin binary file ?

    Thanks & Regards

    Keldy

    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 Apr 23 2012 22:46 PM
    Expert4435 points

    for compiling in different tool chains refer http://processors.wiki.ti.com/index.php/StarterWare_Getting_Started_02.00.XX.XX#Building_application

    Regards

    Baskaran

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Keldy
    Posted by Keldy
    on Apr 24 2012 02:18 AM
    Expert1780 points

    Hi Baskaran,

    Do you have the link to download the arm-none-eabi toolchain ?

    i'm facing the "arm-none-eabi not found" while compiling.

    Thanks & Regards

    Keldy

    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 Apr 24 2012 05:02 AM
    Expert4435 points

    Please refer http://processors.wiki.ti.com/index.php/StarterWare_Getting_Started_02.00.XX.XX#Development_Host_Requirements

    The codesourcery arm-none-eabi toolchain link given in the above section.

    Regards

    Baskaran

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Keldy
    Posted by Keldy
    on Apr 24 2012 05:08 AM
    Expert1780 points

    Hi Baskaran,

    during compiling, there is an error:

    arm-none-eabi-ld: cannot find -lc

    how to solve this error ?

    Thanks & Regards
    Keldy

    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 Apr 24 2012 07:18 AM
    Verified Answer
    Verified by Keldy
    Expert4435 points

    Hi,

        Can you elaborate on teh environvment

    1. are you compiling from windows (cygwin) or linux

    2 .have you exported the tool chain path ( LIB_PATH=C:\tools\CodeSourcery\Sourcery_G++_Lite)

    ensure you followed the steps given at http://processors.wiki.ti.com/index.php/StarterWare_Getting_Started_02.00.XX.XX#Setting_Up_The_Tool_Chain

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Keldy
    Posted by Keldy
    on Apr 24 2012 21:27 PM
    Expert1780 points

    Hi Baskaran,

    in the "AM335x_StarterWare/build/armv7a/gcc/makedefs" file, i've changed LIB_GCC and LIB_C path to my toolschain path.

    My problem was solved.

    Thanks your help.

    Regards

    Keldy 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Keldy
    Posted by Keldy
    on Apr 25 2012 20:10 PM
    Expert1780 points

    Hi Baskaran,

    Can use the StarterWare Library to write some coding in u-boot code?

    let say include a StarterWare Library "/AM335X_StarterWare_02_00_00_06/include/phy.h" in the file "/ti-sdk-am335x-evm-05.03.00.00/board-support/u-boot-2011.09-psp04.06.00.02/board/ti/evm.c". can i do this ?

    if can, how to do this ?

    Thanks & Regards

    Keldy

    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 Apr 25 2012 22:57 PM
    Expert4435 points

    Keldy,

              Which StarterWare lib you want to use in u-boot?

             Also please post new queries in new thread,so that it will be easy to track. Since the thread is already marked as answered, it might not get required attention.

    Regards

    Baskaran

    StarterWare
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • raja V
    Posted by raja V
    on Apr 26 2012 16:13 PM
    Intellectual330 points

    Hi,

    I am facing the same problem of not finding the arm-none-eabi-gcc command not found during the build.

    I tried to set the path in makedefs file in starterware but it give the error with the new tool chain.

    As per the user guide, it says to set the path to /opt/code sourcery/... but my pc there is not tool chain in that path.

    I am working on linux and TI-sdk-am335x-05... installed in /usr/local path.

    Could you please help me in compiling.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Keldy
    Posted by Keldy
    on Apr 29 2012 08:06 AM
    Expert1780 points

    Hi,

    have you exported the tool chain path?

    What is the error message when you do compiling?

    Regards

    Keldy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • raja V
    Posted by raja V
    on Apr 30 2012 14:35 PM
    Intellectual330 points

    I am getting error as no tool chain found for arm-none-eabi. I have only one tool chain installed ti-sdk-am33xx-evm-05.. I am compiling with Code composer V5.

     

    I tried to search in the web but could not get proper link.

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