• 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 Single Core DSP » C64x Single Core DSP Forum » C6455 SRIO maintenance rd&wr problem
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

C6455 SRIO maintenance rd&wr problem

This question is not answered
hong ma71853
Posted by hong ma71853
on Jun 06 2012 22:00 PM
Prodigy80 points

To whom might concern,

       I want to try the maintenance rd&wr transaction on our board using the loopback mode.

      The problem is that  the normal read write loopback transaction works ok, but the maintenance fails as " reg6 =

     011b - Transaction complete, non-posted response packet (type 8 and 13) contained ERROR  status, or response payload length was in error"

 the configuration is as follows:

void srio_maintR(Uint32 src, Uint32 dst, Uint32 len)
{
Uint8 lsu_no;
CSL_SrioDirectIO_ConfigXfr lsu_conf = {0};

/* Create an LSU configuration */
lsu_conf.srcNodeAddr = dst; /* Local address */
lsu_conf.dstNodeAddr.addressHi = 0;
lsu_conf.dstNodeAddr.addressLo = src ; /* Remote address */
lsu_conf.byteCnt = len;
lsu_conf.idSize = 1; /* 16 bit device id */
lsu_conf.priority = 0; /* PKT priority is 2 */
lsu_conf.xambs = 0; /* Not an extended
address */
lsu_conf.dstId = LARGE_DEV_ID;//;
lsu_conf.intrReq = 0; /* No interrupts */
lsu_conf.pktType = SRIO_PKT_TYPE_MAINTR;
/* write with no
response */
lsu_conf.hopCount = 0x1; /* Valid for
maintainance pkt */
lsu_conf.doorbellInfo = 0; /* doorbell pkt */
lsu_conf.outPortId = 0; /* Tx on Port 0 */

lsu_no = SELECTED_LSU;
CSL_srioLsuSetup (hSrio, &lsu_conf, lsu_no);

/* Wait for the completion of transfer */
response.index = lsu_no;
do {
CSL_srioGetHwStatus (hSrio, CSL_SRIO_QUERY_LSU_BSY_STAT, &response);
} while(response.data == 1);

}

void main (void) {
int i, k;
volatile Uint8 *pdata;
srio_init(DSP_MASTER);

memset((void *)0x850000, 0, 0x100);
memset((void *)0x851000, 0, 0x100);
pdata = (Uint8*) 0x850000;
for(i=0;i<0x10;i++)
*pdata++ = i+1;

// srio_write(0x850000,0x851000,0x10);
// srio_read(0x851000,0x852000,0x10);
// srio_maintW(0x850000,0xd01068,0x4);
srio_maintR(0xd0106c,0x851000,0x4);
for (k = 1; k < 1000000; k++) ;
printf("\n\t loopback finished! \n");

}

Can anyone help me to figure out the problem, please?

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • hong ma71853
    Posted by hong ma71853
    on Jun 06 2012 22:16 PM
    Prodigy80 points

    It seems that the mainteance transaction can only access regster offset between 0x1000 -- 0x2000, is that right??

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • hong ma71853
    Posted by hong ma71853
    on Aug 21 2012 02:54 AM
    Prodigy80 points

    can someone help me 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • hong ma71853
    Posted by hong ma71853
    on Aug 21 2012 02:55 AM
    Prodigy80 points

    Can anyone help me to figure out the problem, please?

    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