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.

  • TI Thinks Resolved

RTOS/OMAP-L138: Compiling SysLink Examples in CCS

Intellectual 610 points

Replies: 5

Views: 1057

Part Number: OMAP-L138

Tool/software: TI-RTOS

Hi,

I've been working on an OMAP-L138 SoM and so far managed to make the DSP and ARM cores communicate through DspLink. However, DspLink won't be useful to us because it only supports COFF binaries and our project heavily uses the Starterware examples, which use ELF libraries. Hence, I need to migrate to SYS/BIOS and SysLink.

I've installed SysLink and I'm able to run the example executables in the "ex02_messageq/debug" directory by running the "run.sh" script. Now, I need to create a project for the DSP side to periodically send floating-point arrays of ~8000 elements to the ARM core running Linux (I could do this before through DspLink-MSGQ at ~10 MB/s).

To this end, I tried compiling the SysLink example in CCS v7, but it threw several errors (the build log is attached). There is a "Creating CCS Project for SysLink samples" page in TI's wiki, but I heard that "samples" are obsolete now, so I need to learn how to import the "examples". What would you suggest?

My TI components are:

  • SYS/BIOS 6.34.03.19
  • CCS 7.2.0
  • IPC 1.25.01.09
  • XDC Tools 3.24.05.48
  • SysLink 2.21.03.11

And the ARM is running Linux Ångström Kernel 3.2.0

Thanks in advance

Error_log_ss.zip

  • I've forwarded your query to the software experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • In reply to Cvetolin Shulev-XID:

    Thanks.

    I added the SysLink/packages directory as a repository, and the "can't locate the package 'ti.syslink.ipc.rtos'" error is gone now; however, there are still other errors.

    3678.log.txt

    Also, there are some points in that MessageQ example that I don't understand.
    There's an "App_Msg" struct consisting of the message header (The first field has to be a header, as stated in MessageQ.h), a 32-bit int (cmd), and a buffer of type SharedRegionSRPtr. The example never writes or read anything onto/out of the buffer; how should I do that?
    Thanks again.

  • In reply to Cvetolin Shulev-XID:

    Anyone?
  • In reply to Cvetolin Shulev-XID:

    I've been trying to simplify things to diagnose the issue. I've just realized that, when I create a SYS/BIOS project with the typical template, CCS can't compile the default code and it says "Fatal error #16031: object files have incompatible formats ("/home/<user>/ti/bios_6_34_03_19/packages/ti/sysbios/lib/sysbios/instrumented/sysbios.a674<c64p_Hwi_disp_always.obj>" = TI-COFF, "./main.obj" = ELF)"
    Isn't SYS/BIOS supposed to support ELF object files? The whole reason I'm switching to SYS/BIOS is because I need ELF support for the DSP side.
    I'd be glad if you could respond.
    Thanks.

  • In reply to silacko:

    SYSLINK and DSPLINK are no longer supported by TI. Please check the supported IPC mechanisms here:
    processors.wiki.ti.com/.../Processor-sdk-MultiWay-of-ARM-DSP-Communication

    --------------------------------------------------------------------------------------------------------------------------------------
    Please click the
    This resolved my issue button on this post if the responses on this E2E thread answers your question.
    --------------------------------------------------------------------------------------------------------------------------------------

     

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.