• 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 » Embedded Software » BIOS » BIOS forum » infinite loop in C6474
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

infinite loop in C6474

infinite loop in C6474

  • trinh chien
    Posted by trinh chien
    on May 11 2012 03:00 AM
    Prodigy120 points

    Hi everybody!

    I create a new project and use .tcf file of EVM6474. Andthen, I use SRIO config as following this link:

    "C:\CCStudio_v3.3\boards\evmc6474_v1\csl_C6474\example\srio\srio_evm_dio_example"

    Unfortunately, when debugging the program gets infinite loop at following segment of code

    do {
       delay(10000);  //check the response every 100 cpu clcok = 100 ns
      CSL_srioGetHwStatus (hSrio, CSL_SRIO_QUERY_SP_ERR_STAT, &response);
        }while(response.data & 0x1);

    Please help me resolve this issue.

    Thank you very much.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • tscheck
    Posted by tscheck
    on May 11 2012 17:39 PM
    Genius13085 points

    You aren't getting a port_ok signal, which is the very first step needed for initialization between link partners before sending any packets.  What is your board setup?  Are you doing loopback or board to board?  I'd suggest you start with a more recent example for the C6474.  Please download and try the MCSDK at:

    http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/01_00_00_08/index_FDS.html

    you should be able import the project into CCSv5.  The example is installed to:

    pdk_c64x_1_00_00_06\packages\ti\csl\c6474\csl_c6474\example\srio

    Regards,

    Travis

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • trinh chien
    Posted by trinh chien
    on May 11 2012 23:04 PM
    Prodigy120 points

    Thank Travis for responsing!

    Actually, I create a new project using both RTDX and SRIO to propagate data between two cores of a EVM6474. RTDX is used to load data from PC to a core of DSP through visual basic interface and return data from another core to PC. SRIO is used to connect two cores. However, SRIO gets infinite loop as presented above. If I don't use RTDX and following the srio example is to be ok. I don't know how to resolve this problem.

    Please help me! 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • tscheck
    Posted by tscheck
    on May 14 2012 13:02 PM
    Genius13085 points

    Trinh,

    If the example is working for you, and you are only having issues in your new project, something is not being handled correctly in the SRIO initialization of your project.  It should not have anything to do with RTDX.  Can you check that the SRIO initialization is handled exactly the same.  So if you have one EVM, the SRIO should be configured for SerDes loopback.  Is this being maintained?  There should be no reason to not get port_ok in this setup.  Usually, when you don't get port_ok, it points to a physical connection error of some sort. 

    Regards,

    Travis

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

    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