• 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 » Linux » Linux forum » SYSLINK trace sample for DSP + Linux
Share
Linux
  • Forum
Options
  • Subscribe via RSS

SYSLINK trace sample for DSP + Linux

SYSLINK trace sample for DSP + Linux

This question is answered
Andrew Elder
Posted by Andrew Elder
on Apr 13 2012 10:22 AM
Intellectual710 points

I'm looking in syslink_2_10_00_12 for a sample that uses the trace interface between the host and the slave processor. I want to be able to see stuff "printed" on the DSP display on the ARM linux side. Am I missing something ?

I've found various scatter information about trace interface and SYSLINK_TRACE_ENABLE, but no complete, well documented example. Any pointers ?

- Andrew

Linux Syslink
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Chris Ring
    Posted by Chris Ring
    on Apr 13 2012 10:42 AM
    Genius16190 points

    That isn't inherently supported by SysLink, so you won't find it in the examples.  However, depending on your device, there may be other products that can work with SysLink that provide what you're looking for.  What device are you on?

    Chris

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrew Elder
    Posted by Andrew Elder
    on Apr 13 2012 11:02 AM
    Intellectual710 points

    814x. It looks like trace.h has much of what I am looking for....

    - Andrew

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chris Ring
    Posted by Chris Ring
    on Apr 13 2012 11:34 AM
    Verified Answer
    Verified by Siddharth Heroor
    Genius16190 points

    Currently, SysLink's Trace.h (on the BIOS side) sits above System_printf().  Where that output goes depends on how you've configured your "System" module (in various .cfg scripts).  Given that, this thread may help:

        http://e2e.ti.com/support/embedded/bios/f/355/t/145079.aspx

    Stop reading here if that gets you going.  :)


    That said, frankly that's not the strategic direction we're going - a better approach is to build on Log_* APIs (rather than System_*), so I wouldn't use SysLink's Trace.h.  (We're actually considering changing SysLink's tracing to use Log in the future, so be a little careful building on Trace.h in its current state - Trace.h is an 'internal detail' only meant for use internally by SysLink.)

    On the BIOS side, I'd probably recommend you directly use the BIOS (really XDC) Log_printf() APIs.  More details than you want are here:

        http://rtsc.eclipse.org/docs-tip/Using_xdc.runtime_Logging

    Once you start using Log APIs, you can use the features in the UIA (Unified Instrumentation Architecture) product (like the LoggerSM utility - SM == Shared Memory) to retrieve the Logged statements on remote cores.

    It's not nearly as clean as I'd like, but this article has some details and reflects where we're ultimately going with this:

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

    I'd love to work up a simple example of this, but we just haven't yet had the time.  IMHO, the Log_* APIs and UIA are strategically the right direction.  However, if System_print() and the thread at the top of my reply makes you happy - run with that.

    Chris

    Syslink
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andrew Elder
    Posted by Andrew Elder
    on Apr 13 2012 13:08 PM
    Intellectual710 points

    Thanks for the detailed response. I'm going to give the Log_printf() APIs a try. I'd rather not start down a path that is not going to be supported.

    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