• 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 » Development Tools » Code Composer Studio » Code Composer Forum » Profile Guided Optimization + Cache Layout Tool + Simulator + SYS/BIOS
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Forums

    Profile Guided Optimization + Cache Layout Tool + Simulator + SYS/BIOS

    • Ram R
      Posted by Ram R
      on May 07 2012 20:30 PM
      Intellectual390 points

      Hello experts,

      I'm trying to maneuver between many rocks and hard places in this one:

      Here is my setup:

      • Version: 5.1.0.09000
      • uia_1_00_03_25
      • bios_6_33_00_19
      • ipc_1_23_05_40
      • C6000 Code Generation Tools 7.3.2
      • COFF ABI
      • Device: C6424

      Since the C6424 device does not support hardware profiling/trace, we are having to resort to the Simulator (Megamodule / little-endian / ti.platforms.evm6424).

      Our goal is to run the entire system - RTOS and all (as large a subset as possible) in the Simulator. I have done this earlier for a C6472-based system with good results and elsewhere in elaborate ARM-based co-design environments...

      # To that effect we are simulating I/O using PIN-connect and faux-HWIs. The simulator FAQ (http://processors.wiki.ti.com/index.php/Simulator_FAQ) seems unclear (spru600i.pdf) about the support for McBSP in C6424-sim. PLEASE CLARIFY.

      # PLEASE CLARIFY on the ability to model and simulate external memory (DDR) width (16 vs 32) and timings

      # The Cache Layout Tool workflow (http://processors.wiki.ti.com/index.php/Program_Cache_Layout)

      • seems to work for simple/linear main-programs that run to completion - in that it dumps the .PDAT file out when it exits ex: (http://processors.wiki.ti.com/index.php/Tech:CLT_Tutor_Sources) - can you send me the real project/linkermaps for this?
      • I haven't managed to dump .PDAT  for BIOS-style apps that run/idle without exiting (I thought there was a symbol exposed by the RTS to dump data... but cannot seem to find it). PLEASE CLARIFY.
      • Setting up the Profiler and collecting data in the Sim seems to work... the problem is if "DATA->Export All/Selected" the only way to get this out? Can this be used to feed the rest of the Cache-Layout-Optimization flow? PLEASE CLARIFY.

      Thanks!

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ram R
      Posted by Ram R
      on May 07 2012 22:36 PM
      Intellectual390 points

      I found what I was referring to earlier: SPRU187T.pdf / section 3.8.3 Feedback Directed Optimization API: TI_start_pprof_collection(), TI_stop_pprof_collection()

      I looked at the corresponding RTS sources...

      I call _TI_start_pprof_collection() at the beginning of main.... and in my idle loop I have as global boolean to check and call _TI_stop_pprof_collection(); at first glance, this does not seem to call _output_path_profile_info()... wonder why...

      Is is because System.SupportProxy = xdc.useModule('xdc.runtime.SysMin'); ?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ram R
      Posted by Ram R
      on May 08 2012 01:38 AM
      Intellectual390 points

      Hmm... looks like SysStd is the choice here... it seems to dump out pprofout.pdat. So far so good.

      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