• 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 » BIOS » BIOS forum » Log_print0() output
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Log_print0() output

Log_print0() output

This question is answered
Valdez V.
Posted by Valdez V.
on Dec 16 2012 21:17 PM
Intellectual610 points

Hi,

it seems to be so obvious that no one writes about it or I can't find it. So here is the question: if I run SysLink examples in console, where is the output of Log_print0() commands used on DSP side?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • ToddMullanix
    Posted by ToddMullanix
    on Dec 17 2012 09:17 AM
    Genius15570 points

    Hi Valdez.

    What device are you using?

    Todd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Valdez V.
    Posted by Valdez V.
    on Dec 17 2012 09:21 AM
    Intellectual610 points

    Hi Todd,

    I use OMAP3530 on Beagleboard.

    I see in Dsp.cfg these lines:

    /* create a logger instance */
    var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');
    var loggerBufP = new LoggerBuf.Params();
    loggerBufP.numEntries = 128;  /* 128 entries = 4 KB of memory */
    loggerBufP.bufType = LoggerBuf.BufType_FIXED;

    var appLogger = LoggerBuf.create(loggerBufP);
    appLogger.instance.name = "AppLog_Core1";
    Defaults.common$.logger = appLogger;

    But how to see that logs? Do I need JTAG connection? If yes, so it is not possible to see it outside of CCS?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ToddMullanix
    Posted by ToddMullanix
    on Dec 31 2012 13:20 PM
    Verified Answer
    Verified by David Friedland
    Genius15570 points

    The most straight-forward way to view the log data is to have a CCS connection. Then use Tools->ROV to view the LoggerBuf output.

    You can use LoggerSM (instead of LoggerBuf) in the UIA product and have the log data go into shared memory and be displayed by the ARM (assuming it is running linux).

    Todd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Valdez V.
    Posted by Valdez V.
    on Jan 05 2013 09:38 AM
    Intellectual610 points

    Thank you for the answer. Now I have to learn how to make connection between CCS and DSP core in OMAP3530 via XDC100v2.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • hazem nassef
    Posted by hazem nassef
    on Jan 14 2013 14:27 PM
    Prodigy50 points
    files.zip

    Dear Sir


     I have tried to get LoggerSM from UIA to work with the examples shipped with syslink
    but it didn't work. When I removed all calls to Ipc and SysLink API's, everything worked
    fine. I mean I just left bios tasks and calls to xdctools modules. So I did
    ./loggerSMDump.out 0x8D000000 0x200000 dsp
    and I can see all the logs fine. This was done on BeagleBoard and overoboard both with
    OMAP3530.  I am not sure whether this is a problem with the integration with syslink or
    is it a configuration problem from me. I use the Notify example with syslink_2_20_00_14.
    I updated bios, xdctools, ipc to the latest releases so I use

    I use uia_1_01_01_14
    bios_6_34_03_19
    xdctools_3_23_02_47
    ipc_1_24_00_16


    I modified the memory map as you can see in the attached files to allocate more memory
    for the logger, the shared region etc.., but that didn't make a difference. Still programs
    that used bios and xdctools worked and programs that used Ipc didn't work.
    I have attached the modified Dsp.cfg and the shared/config.bld
    Thanks

    Hazem

    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