• 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 » $BRID Section in Map file
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

    $BRID Section in Map file

    This question is answered
    Shiras Pallikkara
    Posted by Shiras Pallikkara
    on Oct 30 2009 07:51 AM
    Intellectual445 points

    I am trying to convert a visual linker file(.rcp) to .cmd(text linker) by configuring the .cdb as well as writing custom linker file(.cmd) to include some custom sections details. I am writing the linker file entries by comparing the map files generated using the two types of linkers. Is my approach correct? Are there any other methods to serve the purpose?

    I am using CCS v 2.20 and the map file generated by building the project, linking with visual linker has some ($BRID) written besides some object files. These object files start at the same location and are of type "hole". Does anyone know what $BRID means?

    When i port the $BRID sections as below

    .sec1: {} > SDRAM
    {
     sample.obj ($BRID)
    }

    I am getting an error: "adding D:\Myprojects\sample.obj ($BRID) to multiple output sections".  But from the map file, I can see that no other output section has added sample.obj ($BRID).

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Archaeologist
      Posted by Archaeologist
      on Oct 30 2009 11:21 AM
      Suggested Answer
      Mastermind40900 points

      "$BRID" is a debug information section; it should not be allocated to target memory.  It describes properties of branches, such as whether they are calls.  It is no longer used in more recent versions of the compiler; a DWARF-based encoding is used instead.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Shiras Pallikkara
      Posted by Shiras Pallikkara
      on Nov 02 2009 02:16 AM
      Intellectual445 points

      I have to initially try building the project using text linker with the same version of compiler tools which were used for building the same project using Visual Linker. In this context, while making a text linker command file by looking in to the map file generated from the Visual Linker, you mean to say that i can ignore the $BRID sections from being included in the linker command file?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Archaeologist
      Posted by Archaeologist
      on Nov 02 2009 02:57 AM
      Mastermind40900 points

      Yes, I'm saying that you should not even mention $BRID in your linker command file. 

      Are you saying that the Visual Linker produced a map file that claimed that $BRID was allocated to target memory?  That would indicate a bug of some sort.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Shiras Pallikkara
      Posted by Shiras Pallikkara
      on Nov 02 2009 03:22 AM
      Intellectual445 points

      Yes, I will try linking the project using a text linker in which i will not include the section .template which contained $BRID object files.

      Here is the section .template as is seen in the map file generated by Visual Linker for the project. i think the .template is a custom section created by user in Visual Linker.

      output                                                     attributes/

      section      page    origin         length         input sections

      --------        ----        ----------      ----------        ----------------

       

      .template

      *                0        81eb2530  00000000   COPY SECTION

                                 81eb2530  00000018   util.obj ($BRID)

                                 81eb2530  00000098   uscmon.obj ($BRID)

                                 81eb2530  00000014   rts6400.lib : vsprintf.obj ($BRID)

                                 81eb2530  0000000c                   : trgmsg.obj ($BRID)

                                 .........        ..........           .....             ..................

                                 81eb2530  00000064 csl6415.lib : csl_timer.obj ($BRID)

                                 81eb2530  00000088                  : csl_pci.obj ($BRID)

                                 ...... ...................              ..............              ......
                                81eb2530   00000004  bios.a64   : utl_putc.o64 ($BRID)

                                81eb2530   00000004                 : utl_halt.o64 ($BRID)

                                ..........          ......             ........              ..............

                                81eb2530   00000018   acmon.obj ($BRID)

                                ............    ...........         .............                ..........

       

      You can see that all the input sections start at 0x81eb2530 and have different lengths. So i think they are not allocated to target memory and need not be included in the linker command file. Am i right?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Shiras Pallikkara
      Posted by Shiras Pallikkara
      on Nov 04 2009 09:20 AM
      Verified Answer
      Verified by Shiras Pallikkara
      Intellectual445 points

      Yes.. I got things working even without including section containing $BRID object files in Text Linker file..

      Thanks for the support...

      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