• 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) » C6000 Multicore DSP » C64x Multicore DSP Forum » [HPI interface help]how could i use hpi to access the register of DSP 6486 in Host processor?
Share
C6000 Multicore DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Training Available
TI provides self-paced online training that introduces the primary components of the KeyStone II family of SoC devices.

  • KeyStone II SoC Overview >
  • KeyStone II Software Overview >
  • KeyStone II ARM Cortex-A15 Corepac Overview >
  • More Information >
  • Check out
    Multicore Mix blog
    • $core_v2_blog.Current.Name

      It’s our second anniversary, but you get the present!

      Posted 5 days ago
      by Lindsey Bare
      It’s hard to believe it’s already been two years...
    • $core_v2_blog.Current.Name

      Limited time offer: Save $100 on Keystone-based EVM!

      Posted 18 days ago
      by tscheck
      Have you been thinking about ordering a TI Keystone-based EVM...
    • $core_v2_blog.Current.Name

      Imagine the impact…TI’s KeyStone SoC + HP Moonshot

      Posted 29 days ago
      by Sanjay35057
      Last week, market leader Hewlett Packard announced a huge change...

    Forums

    [HPI interface help]how could i use hpi to access the register of DSP 6486 in Host processor?

    This question is not answered
    jia he
    Posted by jia he
    on Apr 26 2011 04:17 AM
    Prodigy110 points

    Now i use hpi  to access the MEMORY of DSP 6486 sucessfully.

    And I get the mapping address of register in the memory space of dsp.

    But i couldn't get the correct value of the register.(everything is zero)

    So i wonder that whether it is forbidden to access the register via HPI interface.

    HPI
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • nmin Wu
      Posted by nmin Wu
      on Apr 26 2011 14:00 PM
      Intellectual910 points

      HPI interface should be able to access the registers as long as the register HOSTPRIV and

      PRIVPERM are settting correctly. (the default values of these registers allow HPI to access registers). Which register you are accessing?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • jia he
      Posted by jia he
      on Apr 26 2011 20:01 PM
      Prodigy110 points

      Thanks for your information. Now values of  registers HOSTPRIV and PRIVPERM are as following:

      HOSTPRIV (0x02A8040C)
      PRIVPERM(0x02A8041C)

      HOSTPRIV = 0xFFFFFFFF, PRIVPERM = 0x00000000

      My Dsp type is C6486.

      Thanks for your further help :)

      HPI C6486
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • nmin Wu
      Posted by nmin Wu
      on Apr 27 2011 08:53 AM
      Intellectual910 points

      the values are good. What are the registers HPI was accessing?

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • jia he
      Posted by jia he
      on Apr 27 2011 19:54 PM
      Prodigy110 points

      I searched hundreds of registers but none were correct.

      for example (copy from data manual)

       CPU Megamodule Bandwidth Management Registers
      HEX ADDRESS RANGE ACRONYM REGISTER NAME
      0182 0200 EMCCPUARBE EMC CPU Arbitration Control Register
      0182 0204 EMCIDMAARBE EMC IDMA Arbitration Control Register
      0182 0208 EMCSDMAARBE EMC Slave DMA Arbitration Control Register
      0182 020C EMCMDMAARBE EMC Master DMA Arbitration Control Resgiter
      0182 0210 - 0182 02FC - Reserved
      0184 1000 L2DCPUARBU L2D CPU Arbitration Control Register
      0184 1004 L2DIDMAARBU L2D IDMA Arbitration Control Register
      0184 1008 L2DSDMAARBU L2D Slave DMA Arbitration Control Register
      0184 100C L2DUCARBU L2D User Coherence Arbitration Control Resgiter
      0184 1010 - 0184 103C - Reserved
      0184 1040 L1DCPUARBD L1D CPU Arbitration Control Register
      0184 1044 L1DIDMAARBD L1D IDMA Arbitration Control Register
      0184 1048 L1DSDMAARBD L1D Slave DMA Arbitration Control Register
      0184 104C L1DUCARBD L1D User Coherence Arbitration Control Resgiter

      And

      Table 7-5. EDMA3 Registers
      HEX ADDRESS RANGE ACRONYM REGISTER NAME
      02A0 0000 PID Peripheral ID Register
      02A0 0004 CCCFG EDMA3CC Configuration Register
      02A0 0008 - 02A0 00FC - Reserved
      02A0 0100 DCHMAP0 EDMA Channel 0 Mapping to PaRAM
      02A0 0104 DCHMAP1 EDMA Channel 1 Mapping to PaRAM
      02A0 0108 DCHMAP2 EDMA Channel 2 Mapping to PaRAM
      02A0 010C DCHMAP3 EDMA Channel 3 Mapping to PaRAM
      02A0 0110 DCHMAP4 EDMA Channel 4 Mapping to PaRAM
      02A0 0114 DCHMAP5 EDMA Channel 5 Mapping to PaRAM
      02A0 0118 DCHMAP6 EDMA Channel 6 Mapping to PaRAM

      I am told by other guys that unfortunately Hpi couldn't access the DDR registers in C64+ , I want to get the details about other registers.

      HPI C6486
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • nmin Wu
      Posted by nmin Wu
      on Apr 28 2011 09:52 AM
      Intellectual910 points

      through HPI, you can not access the following address range:

      01800000~

      01BE0000,

      they are for megamodule's internal register.

      However, you can access the edma registers through HPI, also no problem for DDR.

      Please do the following:

      reset your board and restart.

      Just use HPI to read edma registers (not read any megamodule internal registers)

      also please use HPI in non-incremental mode.

      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