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.

Loader_getSymbolAddress: Failed to get the symbol address!

Other Parts Discussed in Thread: OMAPL138, SYSBIOS

syslink 2.10.6.28, sysbios 6.33.04.39, ipc 1.24.02.27, omapl138, arm: linux, dsp: elf

before main, I get:

*** Loader_getSymbolAddress: Failed to get the symbol address!

        Error [0x8485f003] at Line no: 414 in file /syslink_2_10_06_28/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/c

The dsp .cfg does contain xdc.useModule('ti.syslink.ipc.rtos.Syslink');

What could cause this?

  • Elron,

    Just a guess, since the error mesage doesn't show the name of the symbol that could not be found.  It may be the reset address symbol that it's looking for, and cannot find.  Could you check if the symbol _Ipc_ResetVector is in your DSP executable's map file?  If not, that would be the problem.  Also, do you have a line like this in your .cfg file:

    The xdc.useModule('ti.syslink.ipc.rtos.Syslink'); should cause the reset vector symbol to be generated, though.

    Is there any more trace indicating which symbol was not found?

    Best regards,

        Janet

  • Yes I do use that xdc.useModule call, and I do have that symbol (c3018000   _Ipc_ResetVector)

    I also see:

    *** ProcMgr_getSymbolAddress: Failed to get symbol address!
            Error [0x8485f003] at Line no: 2179 in file /syslink_2_10_06_28/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslinkc
    *** Platform_loadCallback: ProcMgr_getSymbolAddress failed
            Error [0xffffffff] at Line no: 2014 in file /syslink_2_10_06_28/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslinkc
    *** Ipc_control: Platform_loadCallback failed!
            Error [0xffffffff] at Line no: 845 in file /syslink_2_10_06_28/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/c
    Assertion at Line no: 308 in /syslink_2_10_06_28/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/ipc/hld

    SysLink_setup(), MultiProc_getID(), ProcMgr_open(), ProcMgr_attach() all succeed. 

    Then Ipc_control(dspID, Ipc_CONTROLCMD_LOADCALLBACK, NULL) fails (Ipc_E_FAIL)

    Thanks

  • Elron,

    So are you using slaveloader to load the DSP?

    Thanks,

        Janet

  • I have the same prombles when I use slaveloader to load the DSP.how can I solve it? Thanks!

  • Hi Wenbin,

    A few questions:

    Does your DSP .cfg file contain the line "xdc.useModule('ti.syslink.ipc.rtos.Syslink');"?

    When you run the nm6x utility (refer to your compiler documentation for details on how to use it) on your DSP executable, can you see the _Ipc_ResetVector symbol?

    What format is your DSP executable? Make sure that your products.mak file in SysLink is setting the "LOADER" variable accordingly to coff or elf format to ensure the correct loader is used. Rebuild SysLink after you change this variable.

    Best regards,

    Vincent