• 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 » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM814x and AM387x Processors Forum » DM8127 DSP core MAR register settings in IPNC RDK Release 2.8
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

DM8127 DSP core MAR register settings in IPNC RDK Release 2.8

DM8127 DSP core MAR register settings in IPNC RDK Release 2.8

This question is not answered
Allen Black
Posted by Allen Black
on May 22 2012 11:24 AM
Intellectual315 points

I believe I have found a mistake in the MAR register settings for the DSP core of the DM8127 in IPNC RDK Release 2.8.

Here is a partial listing of the file "ipnc_rdk/ipnc_mcfw/mcfw/src_bios6/cfg/ti814x/FC_RMAN_IRES_c6xdsp.cfg". I have added the comments which show the memory address ranges associated with each MAR register.

/* Disable caching for HWspinlock addresses */
Cache.MAR0_31    = 0x00000000;  /* 0x00000000 - 0x1FFFFFFF --> NOT CACHEABLE */
Cache.MAR32_63   = 0x00000000;  /* 0x20000000 - 0x3FFFFFFF --> NOT CACHEABLE */

/* Config/EDMA registers cache disabled */
Cache.MAR64_95   = 0x00000000;  /* 0x40000000 - 0x5FFFFFFF --> NOT CACHEABLE */
Cache.MAR96_127  = 0x00000000;  /* 0x60000000 - 0x7FFFFFFF --> NOT CACHEABLE */

/* cache settings for 1st 512MB DDR */
Cache.MAR128_159 = 0x0000FF00;  /* 0x80000000 - 0x87FFFFFF --> NOT CACHEABLE */
                                /* 0x88000000 - 0x8FFFFFFF -->     CACHEABLE */
                                /* 0x90000000 - 0x9FFFFFFF --> NOT CACHEABLE */

/* cache settings for 2nd 512MB DDR */
Cache.MAR160_191 = 0x0FFF0000;  /* 0xA0000000 - 0xAFFFFFFF --> NOT CACHEABLE */
                                /* 0xB0000000 - 0xBBFFFFFF -->     CACHEABLE */
                                /* 0xBC000000 - 0xBFFFFFFF --> NOT CACHEABLE */

/* cache settings for 3rd 512MB DDR */
Cache.MAR192_223 = 0x00000000;  /* 0xC0000000 - 0xDFFFFFFF --> NOT CACHEABLE */

/* cache settings for 4th 512MB DDR */
Cache.MAR224_255 = 0x00000000;  /* 0xE0000000 - 0xFFFFFFFF --> NOT CACHEABLE */

I believe the setting for Cache.MAR160_191 is incorrect. It makes the entire 128 MB of TILER Space cacheable which is OK. But it also makes 64 MB (out of 105 MB total) of the SR2 SysLink Shared Frame Buffer area cacheable. I believe the SR2 memory area should not be cacheable and that the correct setting for Cache.MAR160_191 should look like this:

/* cache settings for 2nd 512MB DDR */
Cache.MAR160_191 = 0x00FF0000;  /* 0xA0000000 - 0xAFFFFFFF --> NOT CACHEABLE */
                                /* 0xB0000000 - 0xB7FFFFFF -->     CACHEABLE */
                                /* 0xB8000000 - 0xBFFFFFFF --> NOT CACHEABLE */

I have already made this correction in my own codebase.

Please comment.

Thanks!

Allen

DM8127 8127 IPNC RDK Release 2.8
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Allen Black
    Posted by Allen Black
    on Jul 03 2012 15:57 PM
    Intellectual315 points

    This bug is still present (has not been fixed) in DM8127 GA Release 3.0.0. I believe it could cause subtle "difficult to debug" errors for unsuspecting users.

    Would someone from TI or Appro please comment?

    Thanks!

    Allen

    P.S. - There are also multiple documentation errors in the Memory Map Details section of "The Multi Channel Framework Software User Guide" (Document Revision 1.10, pages 27 and 28). The "Start Address" for 3 of the last 4 memory areas are incorrect.

    8127 8127 ipnc
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • manisha
    Posted by manisha
    on Jul 11 2012 14:38 PM
    Intellectual770 points

    Hi Allen,

    The MAR160_191 settings needs corrections as you pointed out. Sorry, we missed taking care of it in GA3.0 release. We shall take care of it in our next release.

    We shall also update the 'Start address' of memory map section in user guide.

    Appreciate you bringing these errors to our notice .

    Regards,

    Manisha

    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