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.

syslink 2.20.00.14 examples don't work (OMAPL138)

Other Parts Discussed in Thread: OMAPL138, SYSBIOS

The 2.10.06.28 samples worked fine for me, but the latest do not.

For example, messageq:

root:/ti/syslink-examples/OMAPL1XX/messageq# ./run_messageqapp_debug.sh
======== Running app using slaveloader ========
Attached to slave procId 0.
Loading procId 0.
Loaded file ./messageq_omapl1xx_dsp.xe674 on slave procId 0.
Started slave procId 0.
MessageQApp sample application
Run for all supported proc IDs
Entered MessageQApp_startup
After Ipc_loadcallback:
    status [0x0]
*** Platform_startCallback: Ipc_readConfig timeout
        Error [0xffffffff] at Line no: 2299 in file /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/Platform.c
*** Ipc_control: Platform_startCallback failed!
        Error [0xffffffff] at Line no: 853 in file /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Ipc.c
Assertion at Line no: 2096 in /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/Platform.c: (!entry.isValid) : failed
Error in Ipc_control Ipc_CONTROLAssertion at Line no: 2187 in /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/Platform.c: (!_SharedRegid
CMD_STARTCALLBAC*** _SharedRegion_setEntry: Entry already exists!
        Error [0xfffffffc] at Line no: 2068 in file /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/SharedRegion.c
K[0xffffffff]
LAssertion at Line no: 2096 in /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/Platform.c: (!entry.isValid) : failed
eaving MessageQApp_startup fffffAssertion at Line no: 2187 in /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/Platform.c: (!_SharedRegid
fff
Stopped sla*** _SharedRegion_setEntry: Entry already exists!
        Error [0xfffffffc] at Line no: 2068 in file /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/SharedRegion.c
ve procId 0.
Unloaded slave procId 0.
Detached from slave procId 0.
======== Running app using arguments ========
MessageQApp sample application
Entered MessageQApp_startup
Loading and starting procId [0] with [./messageq_omapl1xx_dsp.xe674]
Attached to slave procId 0.
Loading procId 0.
Loaded file ./messageq_omapl1xx_dsp.xe674 on slave procId 0.
Started slave procId 0.
SlaveLoader_startup status [111693824]
After Ipc_loadcallback:
    status [0x0]
*** Platform_startCallback: Ipc_readConfig timeout
        Error [0xffffffff] at Line no: 2299 in file /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/family/hlos/knl/omapl1xx/Platform.c
*** Ipc_control: Platform_startCallback failed!
        Error [0xffffffff] at Line no: 853 in file /home/elron/ti/syslink_2_20_00_14/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hlos/knl/Ipc.c
Error in Ipc_control Ipc_CONTROLCMD_STARTCALLBACK[0xffffffff]
Leaving MessageQApp_startup ffffffff

  • Elron,

    In SysLink 2.20, the examples in ti/syslink/samples, have been replaced with platform specific archives.  There is a readme.txt file in

        <SYSLINK_INSTALL_DIR>/examples/archive

    that describes how to build the examples.  You will find the example .zip files for the OMAPL138 in:

        <SYSLINK_INSTALL_DIR>/examples/archive/OMAPL138_linux_elf

    Best regards,

        Janet

  • Janet,

    I saw the new examples, but my problem is with the older samples (in particular a  sample which I imported into CCS and modified a bit).

    I had missed the compatibility section of the syslink release notes, so after I downloaded the latest ipc, bios, and xdc I made some progress.  (It would be nice if all  downloads were in one place.) 

    After some debugging, I found that the new version of ipc has some semantic differences (undocumented as far as I can tell) from the previous-- some functions which were safe to call from main now can only be called from a Task.   There's also some difference in sysbios behavior when the last Task exits, but rather than figure out what's going on, I just changed my code.