• 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 » Keystone Multicore Forum (C66, 66A, AM5) » C6670 Example Question
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 6 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 19 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 30 days ago
      by Sanjay35057
      Last week, market leader Hewlett Packard announced a huge change...

    Forums

    C6670 Example Question

    This question is not answered
    demon popo
    Posted by demon popo
    on Dec 07 2011 03:44 AM
    Intellectual525 points

    Hi,

     

    I was run srioIpcChipToChipExample example code,but have below warning message:

     

    [C66xx_2] ti.sdo.ipc.family.c647x.MultiProcSetup: line 62: assertion failure: A_invalidProcessor: This core is not present in the MultiProc name list

     

    [C66xx_2] xdc.runtime.Error.raise: terminating execution

     

    [C66xx_3] ti.sdo.ipc.family.c647x.MultiProcSetup: line 62: assertion failure: A_invalidProcessor: This core is not present in the MultiProc name list

     

    [C66xx_3] xdc.runtime.Error.raise: terminating execution

    and I can't receiver producr message.

     

     

    CCS: 5.0.3

     

    BIOS:bios_mcsdk_02_00_04_16_setupwin32

     

    MCSDK:pdk_C6670_1_0_0_16

     

    Can you tell me why?

     

    Thank You.

     

     

     

    Best Best Regards.

     

     

     

    C66x SRIO MCSDK C667x EVM6670l DirectIO C6670 CSL
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Varada Bellary
      Posted by Varada Bellary
      on Dec 07 2011 17:03 PM
      Expert5750 points

       

      Your logs indicate that you are executing the code on Core 2 and Core 3,. This demo is specifically built to run on Core 0 and Core 1.

      You can refer the consumer/producer_srio.cfg file, "procNameList", to see how it is setup to run on CORE0 and Core1.

       

      Please follow the README that comes in the same directory as this test and hopefully you should be able to quickly get this running.

      Let us know how it goes.

       

      Regards,

      Varada

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

      Kindly click the Verify Answer button on this post, if it answers your question.

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • demon popo
      Posted by demon popo
      on Dec 07 2011 19:40 PM
      Intellectual525 points

      Hi,

      I have run the program, but board1 and board2 can't sync, have below messagr:

      [C66xx_0] Local Core ("CORE0") starting

      [C66xx_0] Local Core ID: 0

      [C66xx_0] Global Core ID: 0

      [C66xx_0] 

      [C66xx_0] -----------------------Initializing---------------------------

      [C66xx_0] Core 0 : L1D cache size 4. L2 cache size 0.

      [C66xx_0] Core 0 : Memory region 0 inserted

      [C66xx_0] Port 0 did not initialize

      [C66xx_0] Port 1 did not initialize

      [C66xx_0] Port 2 is okay

      [C66xx_0] Port 3 did not initialize

      [C66xx_0] Core 0: SRIO Driver has been initialized

      [C66xx_1] Local Core ("CORE1") starting

      [C66xx_1] Local Core ID: 1

      [C66xx_1] Global Core ID: 1

      [C66xx_1] Core 1: Waiting for SRIO to be initialized.

      [C66xx_1] Core 1: SRIO can now be used.

      [C66xx_1] localQueueName=CORE1

      [C66xx_1] remoteQueueName=CORE3

      [C66xx_1] Core 1: tsk0 starting

      [C66xx_0] localQueueName=CORE0

      [C66xx_0] remoteQueueName=CORE2

      [C66xx_0] Core 0: tsk0 starting

      [C66xx_0] Global Core 0: Sending packets to an off-chip core.

      [C66xx_0] Global Core 0 attempting to open remote board Queue CORE2

      [C66xx_1] Global Core 1: Sending packets to an off-chip core.

      [C66xx_1] Global Core 1 attempting to open remote board Queue CORE3

      [C66xx_0] ti.sdo.ipc.heaps.HeapBufMP: line 619: E_noBlocksLeft: No more blocks left in buffer (handle = 0x845618, requested size = 112)

      [C66xx_0] ti.sdo.ipc.nsremote.NameServerMessageQ: line 227: E_outOfMemory: MessageQ_alloc faild from heap: 0

      [C66xx_0] ti.sdo.ipc.MessageQ: line 383: assertion failure: A_invalidMsg: Invalid message

      [C66xx_0] xdc.runtime.Error.raise: terminating execution

      [C66xx_1] ti.sdo.ipc.heaps.HeapBufMP: line 619: E_noBlocksLeft: No more blocks left in buffer (handle = 0x845618, requested size = 112)

      [C66xx_1] ti.sdo.ipc.nsremote.NameServerMessageQ: line 227: E_outOfMemory: MessageQ_alloc faild from heap: 0

      [C66xx_1] ti.sdo.ipc.MessageQ: line 383: assertion failure: A_invalidMsg: Invalid message

      [C66xx_1] xdc.runtime.Error.raise: terminating execution

       

       

      Thank You.

       

       

       

      Best Best Regards.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Varada Bellary
      Posted by Varada Bellary
      on Dec 08 2011 17:19 PM
      Expert5750 points

      I currently do not have 2 EVMS to run this test. In the meanwhile, I shall loop in the experts for this "Out of memory" error.

       

      Regards,

      Varada

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

      Kindly click the Verify Answer button on this post, if it answers your question.

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Justin32
      Posted by Justin32
      on Dec 09 2011 15:56 PM
      Intellectual770 points

      Are you running the example project as is or did you modify it?  This is the producer side, did the consumer start up without memory errors?

      Also, how did you reboot the boards between attempting to run the examples?  Try a hard reset of the board before running the example projects.  Assuming you're using the c6670 Advantech EVM, you can do this by pressing the switch closest to the Ethernet port.

      Justin

      ____________________
      Don't forget to verify answers to your forum questions by using the green "
      Verify Answer" button.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Justin32
      Posted by Justin32
      on Dec 09 2011 16:00 PM
      Intellectual770 points

      I just noticed that "Port 2 is okay" for you.  Try rewiring your SRIO connections so that you use Port 0.  I think the application requires Port 0 be used.  If so, this may be why you're seeing the out of memory error.  IPC keeps allocating buffers to send open queue messages to the remote device over Port 0.  Since Port 0 is down the messages are dropped and not cleaned up correctly.  This would result in an out of memory error.

      Justin

      ____________________
      Don't forget to verify answers to your forum questions by using the green "
      Verify Answer" button.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • spann
      Posted by spann
      on Dec 22 2011 02:49 AM
      Prodigy80 points

      Dear :

      I also run the example code ,but  one side of the DSP is C6670, and the other side is C6455  
      Whatever I run the Producer or the Consumer example , the four ports still can't initialize:
      1.Could you tell me how to solve this problem?
      2.Due to this example is based on message passing mode, did you have the direct IO type 
      example between Offchip communication? 
       Thanks a lot~
      [C66xx_0] Local Core ("CORE0") starting
      [C66xx_0] Local Core ID: 0
      [C66xx_0] Global Core ID: 2
      [C66xx_0]
      [C66xx_0] -----------------------Initializing---------------------------
      [C66xx_0] Core 2 : L1D cache size 4. L2 cache size 0.
      [C66xx_0] Core 2 : Memory region 0 inserted
      [C66xx_1] Local Core ("CORE1") starting
      [C66xx_1] Local Core ID: 1
      [C66xx_1] Global Core ID: 3
      [C66xx_1] Core 3: Waiting for SRIO to be initialized.
      [C66xx_0] Port 0 did not initialize
      [C66xx_0] Port 1 did not initialize
      [C66xx_0] Port 2 did not initialize
      [C66xx_0] Port 3 did not initialize
      [C66xx_0] Core 2: SRIO Driver has been initialized
      [C66xx_1] Core 3: SRIO can now be used.
      
      
      Best Regards,
      W.T.
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Justin32
      Posted by Justin32
      on Dec 22 2011 15:35 PM
      Intellectual770 points

      Spann,

      1. I can't vouch for how the example will behave if you're attempting to run with something other than a c6670.  The producer/consumer example delivered with the c6670 PDK is meant to be executed on two c6670 platforms.  Likewise, the producer/consumer example delivered with the c6678 PDK is meant to be executed on two c6678 platforms.

      2. The IPC SRIO transport was implemented using the Type 11 message passing configuration.  The Direct I/O configuration of the SRIO LLD was not implemented.

      Justin

      ____________________
      Don't forget to verify answers to your forum questions by using the green "
      Verify Answer" button.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • spann
      Posted by spann
      on Dec 22 2011 20:21 PM
      Prodigy80 points

      Dear Justin:

      Thanks for your reply, but I still have some questions:

      1.Do you know why  Port 0 can not initialize? And what settings may I try?
      [C66xx_0] Port 0 did not initialize
      
      
      2. The version of SRIO in C6474 is RapidIO 2.1.1, in C6670 is RapidIO 1.2 , 
      are they compatible and can communicate to each other?
      
      
      3. If I don't consider  the IPC SRIO transport, 
      but want to use Direct I/O mode to offchip communication, 
      I try to modify the SRIO_LoopbackDioIsrexample project-->device_srio_loopback.c --->
      CSL_SRIO_SetLoopbackMode(hSrio, 0) to CSL_SRIO_SetNormalMode(hSrio,0), 
      but the program can't run successfully like the following:
      Do you know what is wrong?

      [C66xx_0] Executing the SRIO DIO example on the DEVICE
      [C66xx_0] Debug(Core 0): System Initialization for CPPI & QMSS
      [C66xx_0] Debug(Core 0): Queue Manager and CPPI are initialized.
      [C66xx_0] Debug(Core 0): Host Region 0x827a80

      Best Regards,
      W.T.
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • chunlei gan
      Posted by chunlei gan
      on Apr 14 2012 01:25 AM
      Prodigy160 points

      HI,

      I have the same problems following:

      [C66xx_0] ti.sdo.ipc.MessageQ: line 383: assertion failure: A_invalidMsg: Invalid message
      [C66xx_0] xdc.runtime.Error.raise: terminating execution
      I want to QMSS with 8cores ,my chip is 6678 ,how did you resolve the problems of these?
      thanks,
      regards.
      c6678 QMSS
      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