• 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 » ARM® Processors » Sitara™ ARM® » AM3x Sitara ARM Processors Forum » Error building Industrial SDK project
Share
Sitara™ ARM®
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Error building Industrial SDK project

Error building Industrial SDK project

This question is answered
Gerard Belanger
Posted by Gerard Belanger
on Jul 27 2012 09:59 AM
Intellectual765 points

Greetings!

I am trying to build an example project imported from the am335x_sysbios_ind_sdk_1.0.0.4.

I use the Resource Explorer to bring in the uartecho example.

When I try to build it, I get the the following console output:

**** Build of configuration Debug for project uartecho ****

C:\ti\ccsv5\utils\bin\gmake -k all
gmake: Target `all' not remade because of errors.

**** Build Finished ****

No errors or warnings are listed in the problem window, so I am at a loss to figure out what is wrong.

Tools:
CCS     5.2.1.00018
SYSBIOS 6.33.06.50
XDC     3.23.04.60

If I bring in a sysbios example, such as the hello, it builds fine.

Is there something else I have to do to use the Industrial SDK SYSBIOS examples?

Gerry Belanger

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Frank Walzer
    Posted by Frank Walzer
    on Jul 31 2012 02:19 AM
    Verified Answer
    Verified by Gerard Belanger
    Genius13535 points

    Gerry,

    yes, I have seen this issue numerous times when importing a project into CCS. In most cases it can be solved by either:

    1) double-click (open) the projects .cfg file. This calls background processing of Sys/Bios and generates some code that might be missing.

    2) open the projects Properties window - enable advanced settings - click on 'C/C++ Build' - disable check for  'Use default build command'

    This seems to cure issues with the build tools not found. I never figured the details of the issue. I assume it has to do with changing install paths for tools or CCS overall. If that doesn't help you might be better off posting the question in the CCS support forum. As the UartEcho example really is not very sophisticated this has nothing to do with Sitara device or Industrial use cases.

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Sytse Reitsma
    Posted by Sytse Reitsma
    on Jul 31 2012 03:31 AM
    Prodigy40 points

    Hi Gerry,

    You may also try making make more verbose with the --debug option.

    • Go to project properties->Build
    • On the builder tab uncheck "Use default build command"
    • Insert the debug flag, e.g. ${CCS_UTILS_DIR}/bin/gmake -k --debug=v

    Try the various options (listed below) to see where the actual make process goes wrong.

    Regards,

    Sytse.

    Options:

        * a for all debugging (same as make -d and make --debug). This option usually is way too verbose
        * b for basic debugging.
        * v for slightly more verbose basic debugging.
        * i for implicit rules.
        * j for invocation information.
        * m for information during makefile remakes.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerard Belanger
    Posted by Gerard Belanger
    on Jul 31 2012 07:22 AM
    Intellectual765 points

    Frank,

    Thanks for the hint.  I actually started this thread in the CCS support forum because I believe it is a problem with properly importing examples into CCS.

    Apparently a moderator moved it here where more people might see it.

    Meanwhile, since I want to run it on the BeagleBone anyway, I created a sysbios project, imported the uartecho.c, and proceeded to bring in pieces as needed.  I am now working my way through the driver library and uart infrastructure. This is all part of getting up the learning curve for CCS and SYSBIOS.  I think I will have it working pretty soon.

    Gerry Belanger

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Walzer
    Posted by Frank Walzer
    on Jul 31 2012 08:04 AM
    Verified Answer
    Verified by Gerard Belanger
    Genius13535 points

    Gerry,

    ok, quite unusual use case for our IA-SDK... Make sure you catch the hardware differences by comparing the board schematics and that you apply appropriate pin-muxing.

    As long as you don't try to port any of our industrial protocols to Beaglebone however it is fine with me. Just don't see any of the driver code in IA-SDK as reference code for a Sys/Bios 6 driver. We are focusing on Industrial protocol software development and just use Sys/Bios 6 as it is very convenient for us. Unfotrunately we do not have a real AM335x BSP for any of our boards. You may find better Sys/Bios examples in the DSP platform packages or even in the just released MCU SDK.

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerard Belanger
    Posted by Gerard Belanger
    on Jul 31 2012 12:12 PM
    Intellectual765 points

    Frank,

    Your suggestion on opening the cfg file did the trick with the imported IDK project.  It then built fine.  Which answered my original question.

    As far as industrial communications, I have no need for that.  I may play with the PRU for other stuff, but that is not in my development plan at this time.

    For my test code, I just wanted an example of a uart running under interrupt in SYSBIOS. From there I would build my test app. 

    As far as pinmux, I wanted to use UART0, not the 3 and 5 in the IDK, so I added that instance to my test build (not the IDK project).  Every thing is now compiling and building.  When I run, SYSBIOS crashes where the UART ISR is started, so I have some debugging to do.

    Thanks for the help!

    Gerry

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Walzer
    Posted by Frank Walzer
    on Aug 01 2012 02:16 AM
    Genius13535 points

    Gerry,

    sounds like UART0 module is not clocked yet... but that is a pure guess.

    Regards.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerard Belanger
    Posted by Gerard Belanger
    on Aug 01 2012 08:44 AM
    Intellectual765 points

    Frank,

    The clocking was ok - I copied the scheme used for uart 3 and 5, just adding the Uart 0 stuff to the various switch statements.  I missed one spot when I cut and pasted to create the ISR for Uart 0.  Once I found and fixed that, it worked as expected. 

    Next I will borrow some of the uart receive logic in the profibus slave demo. This will give me a shell to write test routines for my hardware, and to play with some of the SYSBIOS features.

    Thanks!

    GerryB

    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