• 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 » MessageQ over SRIO [chip to chip communication] and QMSS [Core to Core communication]
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

MessageQ over SRIO [chip to chip communication] and QMSS [Core to Core communication]

This question is answered
RCReddy
Posted by RCReddy
on May 10 2012 01:56 AM
Genius3265 points

Hi All,

            If i want to use MessageQ over SRIO and QMSS, how to configure the .CFG file

=============================================================================

If i look at a SRIO [Producer Consumer SRIO Project] example [CHIP to CHIP communication], it says

/* Set SRIO as the transport */
MessageQ.SetupTransportProxy = xdc.useModule(Settings.getMessageQSetupDelegate());
var TransportSrioSetup = xdc.useModule('ti.transport.ipc.srio.transports.TransportSrioSetup');
MessageQ.SetupTransportProxy = TransportSrioSetup;

=============================================================================

If i look at IPC_QMSS_benchmark example [core to core communication], it says

/* use IPC over QMSS */
MessageQ.SetupTransportProxy = xdc.useModule(Settings.getMessageQSetupDelegate());
var TransportQmssSetup = xdc.useModule('ti.transport.ipc.qmss.transports.TransportQmssSetup');
MessageQ.SetupTransportProxy = TransportQmssSetup;

=============================================================================

so how to make sure that MessageQ uses SRIO as Transport for CHIP to CHIP and QMSS for Core to Core communication in this .cfg file. please help me in setting/writing the .cfg file.

Thanks

RC Reddy

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Justin32
    Posted by Justin32
    on May 11 2012 13:40 PM
    Intellectual770 points

    RC,

    Right now MessageQ does not provide the ability to specify different transport proxies, via MessagQ.SetupTransportProxy, in the application .cfg file.  You'll need to specify the SRIO IPC transport as the proxy in the .cfg file.

    /* Set SRIO as the transport */
    MessageQ.SetupTransportProxy = xdc.useModule(Settings.getMessageQSetupDelegate());
    var TransportSrioSetup = xdc.useModule('ti.transport.ipc.srio.transports.TransportSrioSetup');
    MessageQ.SetupTransportProxy = TransportSrioSetup;


    Then in the application itself you'll have unregister the SRIO transport for all core to core situations.  After unregistering the SRIO transport for all core to core situations you'll need to register the QMSS transport.  Please note you can register a new transport with the same priority as the one set in the .cfg file after you've unregistered the original transport. 

    Example code for unregistering the original SRIO transport then registering the QMSS transport in its place.

    If (TransportSrioSetup_isRegistered(remoteProcId))

    {

        TransportSrioSetup_detach(remoteProcId);

        TransportQmss_create(remoteProcId, &transportQmssParams, &eb);

    }

    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.
  • RCReddy
    Posted by RCReddy
    on May 11 2012 14:39 PM
    Genius3265 points

    Hi Justin,

                   Thanks for quick answer. I will venture into coding for that part in coming days. I will post back any questions and verify the answer [what you suggested] then.

    Thanks

    RC Reddy

    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:30 PM
    Verified Answer
    Verified by David Friedland
    Genius13115 points

    I also want to point out that if you don't need MessageQ (IPC), you can still use SRIO messaging between DSP using the LLD.  There is an example showing how to do this in the MCSDK.  After you install:  http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html

    find the example in the following directory assuming you are using C6678:

    pdk_C6678_1_0_0_20\packages\ti\drv\srio\example\SRIOMulticoreLoopback

    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.
  • RCReddy
    Posted by RCReddy
    on Jun 05 2012 04:27 AM
    Genius3265 points

    Hi tscheck,

                                       My required functionality is only thing

    between master core [CORE0] in chip c6670 and another master core in ANOTHER chip c6670 communication.

    1. establish chip level communication using IPC over SRIO.

    2. establish core level communication using IPC over qmss [qpend] or IPC over shared memory.

    please let me know what steps i need to follows, i followed steps suggested by justin, i was able to detach all core communicaiton on SRIO and was able to achieve core communication using qmss [i was able to see qmss transport instance in ROV tool], but when i do put MessageQ, other side message is not received.

    before that, at any given point of transportqmss can exists between one core to one core only [this is the basic requirement in code]...say CORE0 if attached to CORE1 on qmss transport, cannot transport_attach itself to another CORE2 again. how to over come this?

    Thanks

    RC Reddy

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BhavinKharadi
    Posted by BhavinKharadi
    on Jun 05 2012 19:20 PM
    Intellectual1185 points

    RC,

    For the QMSS transport, when you do the MessageQ put it follows below flow. If you don't get any message on the receiving core then the first thing which you should check whether the receiving core received the interrupt or not.

    If you are not getting the ISR then it might happen that descriptor is not getting pushed to the respective queue. I am preparing a GEL function which can help you find the number of descriptors in a perticular queue. I will send you that by tomorrow.

    Also I could not conclude about your SRIO tranport query. Are you facing the same problem for your SRIO transport query between two devices?

    Regards,

    Bhavin

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BhavinKharadi
    Posted by BhavinKharadi
    on Jun 06 2012 19:19 PM
    Intellectual1185 points

    RC,

    Please find attached is the GEL file which i was mentioning. 3348.Shannon_SystemDebug_v0.3.gel

    Please use the first function C6678 CPPI Queue Status. It will give you options for start queue to end queue. There are lots of other debugging functions in that GEL file. You can use those as per your use case.

    We are able to reproduce issue similar to yours. Justin should be able to provide you more details on it.

    Regards,

    Bhavin

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • RAHUL SHARMA91013
    Posted by RAHUL SHARMA91013
    on Jul 03 2012 03:11 AM
    Prodigy235 points

    Hi RC

    Are you running the code on Simulator or any hardware Board.,

    I was able to use Qpend Comm on Hardware but  it didn't work on Simulator (was not getting ISR invoked on receiver core) if u do successive message push.

    Inserting delay between push solved that problem on Simulator too.

    Regards 

    Rahul

    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