• 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 » C2000 - DSPLIB/DSPLink - C6000
Share
BIOS
  • Forum
  • Announcements
Options
  • Subscribe via RSS

Forums

C2000 - DSPLIB/DSPLink - C6000

This question is answered
Michael Nolin
Posted by Michael Nolin
on Oct 19 2010 15:46 PM
Prodigy190 points

 

I've had great success building and running the "Example DSPLIB/DSPLink" Application on OMAP-L1x on a Linux host workstation.

I'm hoping it can also support our other Inter Processor Communication needs on a TMS320F28335 connected

through the external XINT/HPI Host Port interface to a TMS320C6747.  I understand that the DSPLink can be ported to

other devices and even Linux, WinCE and ProOS.  ... DSPLINK FAQ

Attempting to download the DSPLink package I was confused by the 2 options Linux or 'porting kit for WinCE and ProOS'

C2000 tools are not available for Linux hosts currently only CCS so the porting kit may be appropriate. though we have no plans for

a third party OS currently.

Does DSPBios Link require a running OS on both GPP and DSP?  or is it possible to run the GPP as a simple microcontroller

while(1) schedule loop? Perhaps I don't need DSPLink to implement shared memory in this case DSP/BIOS supports this without

the need for BIOS Link? 

 

 

Michael Nolin

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Brad Griffis
    Posted by Brad Griffis
    on Oct 19 2010 21:43 PM
    Verified Answer
    Verified by Michael Nolin
    Guru57350 points

    Have you considered just using the MSGQ interface in BIOS?  That's actually one of the main things dsplink leverages.  In a BIOS-to-BIOS system you could just directly use MSGQ.  You will of course need to implement the underlying message queue transport (MQT) for doing communication over HPI, but you would have to do that with dsplink as well.

    In this scenario I would not recommend dsplink.  It was designed specifically to interface between an ARM and a DSP.  It's not meant for DSP-to-DSP.  Yes it requires an OS for things like mutex, deferred procedure call, etc.  Also, in the scenario you describe you will likely want both devices to boot independently.  That is, you would not want to store your 6747 executable inside your F28335 flash since you wouldn't have enough space!  The dsplink software paradigm expects the ARM to bootload the DSP, but that wouldn't be the case.  You would instead have each of them boot independently and then have some kind of handshake which would be more along the lines of MSGQ.

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

    Please 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.
  • Michael Nolin
    Posted by Michael Nolin
    on Oct 20 2010 08:19 AM
    Verified Answer
    Verified by Michael Nolin
    Prodigy190 points

     

    True the MSGQ interface is really the core utility I would like to integrate for this C2000 to C6000 project. 'not meant for DSP-to-DSP'  I was getting this impression as I continued with downloading and trying to build dsplink for the TMS320F28335.  

    With the ARM and DSP example running on the OMAP-L137, leveraging older legacy implementation of the TMS320F28335 may not be all that effective for us. After implementing a MQT (transport) on the 335's XINT/HPI interface I would not expect the performance from the existing ARM-DSP  transport shared memory interface..

     

    Mike

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brad Griffis
    Posted by Brad Griffis
    on Oct 20 2010 17:10 PM
    Verified Answer
    Verified by Michael Nolin
    Guru57350 points

    So how are you planning to proceed?

    Michael Nolin
    With the ARM and DSP example running on the OMAP-L137, leveraging older legacy implementation of the TMS320F28335 may not be all that effective for us.

    What did you mean by "leveraging older legacy implementation of the TMS320F28335"?  Was there a version of dsplink that supported F28335 in the past?  I don't remember that.  :)

    Michael Nolin
    After implementing a MQT (transport) on the 335's XINT/HPI interface I would not expect the performance from the existing ARM-DSP  transport shared memory interface..

    Certainly an MQT that passes pointers around (like OMAP-L137 shared memory MQT) will be faster than an MQT that is required to send data over a physical link.  However, there's no avoiding the fact that data will need to be sent over the physical link.  If you take the time to write the MQT now the potential benefit is that if you ever move to a multicore device you will just plug in a different MQT and your software won't have to change at all.

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

    Please 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.
  • Michael Nolin
    Posted by Michael Nolin
    on Oct 21 2010 07:39 AM
    Prodigy190 points

    Our target hardware was built with both a TMS320F28335 and a OMAP-L137 (on some boards) and theTMS320F2833 and a pin compatible C6747 (on other boards). We will need MSGQ for 335 - 6747 communication and DSPLink for the boards with OMAP-L137 parts.  The target hardware was build far in advance of any software effort.

    Legacy:  Existing software ran entirely on the 335 with no DSP/BIOS only a while(1) controller loop. Interprocessor or DSP-DSP / GPP-DSP communication is a new undertaking for these designs. DSPLink has not previously been supported for the 335 true. We are addressing lots of IPC related questions will at the same time explaining the value of embedded OS's (TI/DSPBIOS, MV_Pro_5.0) 

    I found the "Example DSPLIB/DSPLink Application on OMAP-L1x" easy to follow well thought out and clean to build and integrate.  Makefile, Linux, IPC all well defined stuff. The 335 will require the integration of DSPBIOS which has not been undertaken here before hence the value of MSGQ for DSP-DSP communication was over looked as it was defined in the bios_5_xx_/docs  User Guide. Writing MQT does not appear all that complicated as there seems to be ample example code.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brad Griffis
    Posted by Brad Griffis
    on Oct 21 2010 09:48 AM
    Guru57350 points

    Thanks for the explanation and good luck with the project!

    I also have been seeing more and more value in an OS like BIOS over the last few years.  I feel like the guys who wrote it have great vision because much of this stuff was designed many years ago!

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

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