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.

About SYS BIOS 6.x's "GIO and ti.sdo.io.Stream Module"

Other Parts Discussed in Thread: SYSBIOS

Hi.

In the "Migrating a DSP/BIOS 5 Application to SYS/BIOS 6"(SPRAAS7D) Document, I've seen that SYS/BIOS 6.x ti.sdo.io.Stream Module for I/O Processing. But I could not find any information about ti.sdo.io.Stream Module at this site(http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/6_33_00_19/exports/bios_6_33_00_19/docs/cdoc/index.html).

And I knew that SIO, PIP and GIO is used for I/O Driver on application level in dsp/bios 5.x. But, now SYS/BIOS does not support PIP and "SIO, GIO" Modules is changed to ti.sdo.io.Stream Module. However In SYS/BIOS API Site(made by CDOC), I just found that sys/bios has "ti.io.GIO module" which is not stable module(i.e. WARNING! PRELIMINARY!).

Could you please explain about that??

PS)  I'm using DM6437, DSP/BIOS 5.41 and CCS 3.3.

Regards,

Zizek

  • Hi Zizek --

    The Stream and IDriver modules are provided with the IPC product  which is a separate product.   Feedback on Stream and IDriver was that it was not easy to work with.    In the last 6 months, we have reintroduced a slightly modified GIO module that is very similar to the BIOS 5.x GIO module.  In 6.33.00, this module was documented as "preliminary", but we have completed the review and have removed the "Preliminary" warning for 6.33.01.  We have included an "Input/Output" section in the 6.33.01 User's Guide to describe GIO.   SYS/BIOS 6.33.01 should be released within the next couple of days.  The only API we changed between 6.33.00 and 6.33.01 is the GIO_match() API which we removed in favor of adding the DEV module and using DEV_match().  The "Input/Output" chapter of the 6.33.01 User's Guide will cover GIO and DEV.  And we added an IOM appendix.

    The SYS/BIOS 6.x version of GIO is almost API identical to the DSP/BIOS 5.x version of GIO with the following changes:

    -   GIO_create() and GIO_Params structure are different from GIO_create/GIO_Attrs structure from BIOS 5.x.  This is to be consistent with the other create/delete APIs in SYS/BIOS 6.x and to support seeing GIO status in the ROV tool.
    -   GIO_delete() takes *GIO_Handle parameter instead of GIO_Handle.  Again, to be consistent with the rest of the Mod_create() APIs in BIOS 6.x
    -   Added GIO_issue/reclaim/prime APIs which provide functionality similar to the SIO module from BIOS 5.x.   We do not the provide the SIO module with SYS/BIOS 6.x.


    If you BIOS 5.x drivers that implement the IOM interface (#include <iom.h>), you should be able to update these to use SYS/BIOS 6.x's <ti/sysbios/io/IOM.h>, and update internal calls to QUE to Queue, and calls to HWI to use Hwi.  And any other BIOS 5.x calls to use their BIOS 6.x equivalent. 

    Regards,
    -Karl-

  • Thank You, Karl.

    You've been very helpful.

    And when does TI update SYS/BIOS API CDOC Pages? I think it may lead many people to misunderstanding. Many other documents(pdf files) make it too..

    Reagrds,

    Zizek