• 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 » SRIO Message Passing on C6455
Share
C6000 Single Core DSP
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

SRIO Message Passing on C6455

This question is not answered
MattB
Posted by MattB
on Sep 17 2009 12:48 PM
Expert1900 points

Hi,

We just starting out with the C6455 EVM.

I've got SRIO Direct I/O working because there is an example. I've extended the Direct I/O examples to send DOORBELLs.

I've just started looking at Message Passing and was wondering if anyone could supply some example code on how to transmit and receive messages. I've copied the rather brief example from spru976.pdf but I think there's still plenty that I'm missing!

Thanks,

Matt

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • RandyP
    Posted by RandyP
    on Sep 17 2009 19:09 PM
    Guru61625 points
    EVM6455_SRIO_MSGQ.zip

    Attached is EVM6455_SRIO_MSGQ.zip which has an example for using SRIO through the DSP/BIOS MSGQ tool. You will need to have the DDK installed and the latest version of BIOS would be good. I am using BIOS 5.31.09.

    The steps to run this example are:

    1. Unzip this into your CCS 3.3 MyProjects folder as a folder name EVM6455_SRIO_MSGQ. There should be one folder underneath there called rapidiomqt.
    2. Step down through the folder tree to find the project file rapidiotest_64P.pjt in C:\CCStudio_v3.3\MyProjects\EVM6455_SRIO_MSGQ\rapidiomqt\packages\ti\bios\drivers\examples\rapidiomqt\evm6455 .
    3. Open rapidiotest_64P.pjt in a text editor (notepad or any ASCII editor, not Word) and change the path to your CSL for the 6455. Do this on lines 26, 29, 38, 41 where I have it at C:\TTO\etc. Save and close the .pjt file.
    4. Make sure the BIOS_INSTALL_DIR and DDK_INSTALL_DIR environment variables are set correctly. I am slightly concerned that getting the right DDK include files could be an issue since I have not checked this out except on my laptop. I did put the rapidiomqt library in the project folder for your convenience, but I'm not sure about include files.
    5. Using CC_Setup, configure CCS for the "C6455 DSK with Mezzanine", save and exit, starting CCS.
    6. In the Parallel Debug Manager (PDM), double-click on cpu_0.
    7. In the CCS window, make sure you are connected to the DSP (Debug->Connect).
    8. Open the rapidiotest_64P.pjt project file. Build and load, open the Message Log, right-click in the Log window and select "Automatically scroll to end of buffer".
    9. Repeat 6, 7, and 8 for cpu_1.
    10. Start both processors running and arrange the windows so you can see both Log windows.
    11. The message traffic will be logged.
    12. There are some comments in ..\rapidIOTest.c that explain some of what is going on.

    Hope this helps.

    Search for answers, Ask a question, click  Verify  when complete, Help others, Learn more.

    C6455 SRIO C6455 SRIO EVM MSGQ
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MattB
    Posted by MattB
    on Sep 18 2009 11:04 AM
    Expert1900 points

    Thanks for that!

    I had seen the RapidIO MQT before but you prompted me to download it and have a look at the source.

    I've also just realised that I'm looking at spru976.pdf rather than spru976b.pdf and I can see that there are a great many changes in revision b!

    I'm not running yet, when I 'Start Message Passing' I get 'Descriptor Programming error', but armed with these new sources of info I'll have another crack at sorting it out!

    Thanks,

    Matt

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MattB
    Posted by MattB
    on Sep 28 2009 06:34 AM
    Expert1900 points
    SRIOMessage.ZIP

    I got my own simple message passing test program working. I use it to pass a message from the Mezz to the DSK. I've attached it in case anyone else is interested but remember I am not your SRIO guru. :-}

    Having done this I now understand the RapidIO MQT better and wil probably use the MQT anyway!

    Thanks,

    Matt

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • EJ
    Posted by EJ
    on Jan 18 2010 16:51 PM
    Prodigy10 points

    I have been looking at the MQT and wonder how to support more than 2 DSPs in the system.  It appears that a different instance needs to be made for each DSP in the system.  Has anyone else looked at his can came to the same conclusion?

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MattB
    Posted by MattB
    on Jan 19 2010 02:34 AM
    Expert1900 points

    EJ
    I have been looking at the MQT and wonder how to support more than 2 DSPs in the system. 

    Multiple processors is described in the Message Queue section of the DSP/BIOS User's Guide.

    The example contains #define NUMPROCESSORS 2.

    EJ
    Has anyone else looked at this?

    I haven't. I'm having enough trouble getting SRIO (Direct I/O and Message Passing) to work on the EVM6455! :-(

    Sorry I can't be more help!

    Matt

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mugiwara
    Posted by Mugiwara
    on Apr 10 2010 07:03 AM
    Prodigy70 points

    HI Matt

     

    im working on a project based on Srio. i have to implement message passing to study it's performence.

    but iv found some difficulties .first i don't  have any idea concerning how can i use the msgq .i tried to  open the project given in the forum

    but it dosent work .there is something missing.

     

    please i need help.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • MattB
    Posted by MattB
    on Apr 12 2010 03:04 AM
    Expert1900 points

    Mugiwara
    but iv found some difficulties .first i don't  have any idea concerning how can i use the msgq .i tried to  open the project given in the forum

    but it dosent work .there is something missing.

    It's difficult to know what to say! This thread contains 2 examples of SRIO Messaging projects; they both worked for me, I think you need to say what errors you are getting.

    I've got an EVM6455 which made it possible to follow the example.

    But more generally I can only suggest that you keep trying to sort the problems out yourself! SRIO is pretty complicated and took me several weeks to get anywhere. I've read the description of MSGQ in the DSP/BIOS manuals many times!

    Having spent several weeks working to SRIO Messaging working for me I decided I didn't need it for our application and haven't looked at for several weeks (our application will be implemented entirely with SRIO Direct I/O).

    HTH,

    Matt

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mugiwara
    Posted by Mugiwara
    on Apr 12 2010 04:43 AM
    Prodigy70 points

      Tanks Matt for the informations.

     

    im working on evm 6474 , i think i have to do some changes. all i want to now is the rate of data (data/time).

    i think message passing is not useful for applications with need high rate transfert. the directIO offers two kind of methodes to communicate

    .posted and no posted .

     

    tanks again , i try to go on .

     

     

    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 May 02 2012 04:25 AM
    Prodigy80 points

    The version you share is not complete, several files are missing ,such as SrioMessageTxcfg.cmd

    can you share us a full version ,including the inc file and lib file ?

    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.
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