This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Example code for multicore programming on evmc6474

Other Parts Discussed in Thread: CCSTUDIO, TMS320C6474

Hi,

I am new to multicore programming.I need to do my proj on evmc6474 using both processors and all 3 cores each . i want to know how to program multiprocessors and multi-cores and how to initate different cores and sync them?

I have gone through the mutlicore programming guide (sprab27a) but not yet clear on programming level, there is no any code which can help me. So i need some example codes so that i can understand how to program multicores, initiate multiple cores  and sync them.

thanks,

  • I have three recommendations for you.

    1. Learn about the C6474 device. In the Training section of TI.com, there is a training video set for the C6474. It may be helpful for you to review all of the modules. You can find the videos http://focus.ti.com/docs/training/catalog/events/event.jhtml?sku=OLT110002.

    2. Start with an example that shows how to work with the three cores in one C6474. Please take a look at my Feb 18, 2010, posting I placed in the forum at this link. In spite of the title of the thread, the example code does use DSP/BIOS. The text in my post tells a little about it, and there are comments in the code that go into more detail. The rest of the discussion in that thread, and in others, may be of great interest to you as well.

    3. Use an example to show how to communicate between the two C6474s on the EVM. With CCSv3.3, when you install the EVM there will be a folder under "boards" with some example code for using CSL to operate SRIO for communicating between the two C6474s on the board. On my computer, the folder is C:\CCStudio_v3.3\boards\evmc6474_v1\csl_C6474\example\srio\srio_evm_dio_example . You will need to have the CSL installed, too, of course. If you are using CCSv4, then it may be installed at a different high-level folder, but most of the path should be the same. I have not tried it with CCSv4, yet.

    To get more information, search through the E2E Forum for other C6474 discussions. And go to the Wiki pages at www.tiexpressdsp.com for some useful discussion topics on the C6474 and the software tools available to you.

  • please for me the document of the TMS320C6474
    Mezzanine EVM Board.with code base for ccs3.3

  • The links in my reply above may have some information you will find useful.

    What you request is part of the installation disk that comes with your EVM board. If you need a replacement disk or if you want to download some of the files, please contact the board manufacturer.

    Regards,
    RandyP

     

    If this does not answer your question, please tell us more. If it does, please click the  Verify Answer  button.

  • thanks Randyp.could you give me your email or yahoo?

     

  • If you need to send a private message, you can use the Friend feature. Any technical questions need to be posted and answered in the forum for all users to benefit.

    Thank you for your continued use of the TI E2E Forum.

    Regards,
    RandyP

  • Vyom,

    Here is the link to the IPC software product.

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ipc/index.html

    The BIOS IPC Product contains modules that support the communication between processors in a multi-processor environment and communication to peripherals. This communication includes message passing, streams, and linked lists. These modules work transparently in both uni-processor and multi-processor configurations. I think the IPC package also supports the 647x platform. Please download the package and go through the documentation and sample applications.

     Regards,

    Nag

    (If your question is answered, please click the  Verify Answer  button on this post)

  • what version ccs can I use for simulation on tms320c6474 evm ? I am using win7 -64bit?not ccs3.3.thanks!

  • You will find useful information on the TI Wiki Pages, especially starting from the main Category:CCS page. If you are certain CCS 3.3 will not work for you, then you will still want to read about CCSv4 and CCSv5 to see which one fits your needs best. Both will provide a simulator for the C6474.

    If you do not easily find the answer there, then I would recommend going to the E2E Code Composer Forum under Development Tools. From there, you can search for your criteria, such as Windows7 or "Windows 7" and see if there are some forum threads that offer advice on this for you.

    Regards,
    RandyP

     

    If this does not answer your question, please tell us more. If it does, please click the  Verify Answer  button, below.

  • 1.5 years later (since you originally posted the link)... :-)

    1. Learn about the C6474 device. In the Training section of TI.com, there is a training video set for the C6474. It may be helpful for you to review all of the modules. You can find the videos http://focus.ti.com/docs/training/catalog/events/event.jhtml?sku=OLT110002.

    Are any of those available to view now?  Clicking on any of the links cited on that page gives a "Bad Request (Invalid Hostname)" error page.  Hopefully, they were just relocated (hence the "Hostname" error) and not removed altogether.

  • Alex,

    In that 1.5 years, we changed where these videos are located. I had to go through about 100 places where I posted references and manually update the links to the ones you see here. You scared me into thinking I would have to do the same thing once again.

    But I clicked on the link in your post, copied from my earlier one, and I was able to get to the Training page and all the videos opened except the EDMA3 one. FYI, there is a similar set for the C6472 and the EDMA3 one opened there, at http://focus.ti.com/docs/training/catalog/events/event.jhtml?sku=OLT110001.

    Even though the paths to the videos have /public/ in the URLs, they do not seem to be visible from outside of TI.

    I will post an internal ticket to get this looked at and will let you know when I hear that it is fixed.

    Thank you for alerting us to the problem!

    Regards,
    RandyP

  • I will post an internal ticket to get this looked at and will let you know when I hear that it is fixed.

    Thanks!

  • Alex,

    Please try again. I believe it has been fixed. To use technical jargon :) someone threw a banana peel on the ground and the videos slipped on it. One of our IT mega-pros located the banana peel and corrected the situation.

    And it took less than 1.5 years. Again, thanks for pointing this out, and we all hope you find some useful information in the videos.

    We are still working on the EDMA3 video that does not show up, but if you want that one, you can temporarily use the C6472 one I pointed to above.

    Regards,
    RandyP

  • Yes, like you say, I am now able to access all the videos except the EDMA one.  I am interested in several of them, and I was particularly interested in the EDMA one, but like you said, I can now access the C6472 one, so not all is lost. :-)

    Thanks!

  • Alex,

    The link for the C6474 EDMA3 video module has been corrected.

    Please let us know if you have any problems.

    Regards,
    RandyP

  • Sweet!  Astounding timing, too, since today is the today I am implementing our EDMA subsystem.  I've been using EDMA for years now, but I always like your videos because no matter how well I think I know a subject, I always manage to learn something new about it.

  • HI every one!

    I have a question want to answered:

    Can we use  SRIO interface for inter core communication with systerm MIMO?

    in other words, can we config for srio interface  to have 2 X2 link  the same MIMo systerm?

    thanhs to all of you!

  • Your post is not related to the thread above. Please post this as a separate question using New Post. That way you will be able to specify a meaningful title to attract people who might be able to help you.

    Regards,
    RandyP