Hello all,
I am working on dsplink for omapL137 on VxWorks, and I have some problem.
The lateset TI dsplink supports omapL1xx and I have added vxWorks
support routines to 1.63. But when I run
loop sample, the whole system hangs after PROC_start().
My configuration is:
OS: WinXP
DSP/BIOS: 5.33.03
ti-tools: C6000 V 6.1.11
perl dsplink/config/bin/dsplinkcfg.pl --platform=OMAPL1XX --nodsp=1 --dspcfg_0=OMAPL1XXGEMSHMEM --dspos_0=DSPBIOS5XX --gppos=VXWORKS --comps=pocslm --trace=1
Below is the output, Thanks.
=============== Sample Application : LOOP ==========
==== Executing sample for DSP processor Id 0 ====
Entered LOOP_Create ()
Entered PROC_setup ()
linkCfg [0x0]
Entered DRV_Initialize ()
drvObj [0xc07ad1a4]
arg [0x0]
Leaving DRV_Initialize () status [0x8000]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x6c01]
arg1 [0xc078414c]
arg2 [0x0]
Entered _POOL_init ()
Leaving _POOL_init ()
Leaving DRV_Invoke () status [0x8000]
Entered _MEM_USR_init ()
Leaving _MEM_USR_init () status [0x8000]
Entered _IDM_USR_init ()
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7351]
arg1 [0xc0784110]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving _IDM_USR_init () status [0x8000]
Entered _SYNC_USR_init ()
Entered _IDM_USR_create ()
key [0x10080]
attrs [0xc0784124]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7353]
arg1 [0xc07840f0]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving _IDM_USR_create () status [0x8000]
Leaving _SYNC_USR_init () status [0x8000]
Entered _SYNC_USR_createCS ()
idKey [0xc07ab4c0]
csObj [0xc07ad1ac]
Entered _IDM_USR_acquireId ()
key [0x10080]
idKey [0xc07ab4c0]
id [0xc0784128]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7355]
arg1 [0xc07840f0]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving _IDM_USR_acquireId () status [0x8000]
Leaving _SYNC_USR_createCS () status [0x8000]
Entered PROC_resetCurStatus ()
Leaving PROC_resetCurStatus ()
Leaving PROC_setup () status [0x8000]
Entered PROC_attach ()
procId [0x0]
attr [0x0]
Entered DRV_Initialize ()
drvObj [0xc07ad1a4]
arg [0x0]
Entered _SYNC_USR_enterCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_enterCS () status [0x8000]
Entered _SYNC_USR_leaveCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_leaveCS () status [0x8000]
Leaving DRV_Initialize () status [0x8000]
Entered _SYNC_USR_enterCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_enterCS () status [0x8000]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x6c08]
arg1 [0xc0784148]
arg2 [0x0]
<1>LDRV_DRV Ctrl GPP address [0xc3f05000]
<1>LDRV_DRV Ctrl DSP address [0xc3f05000]
<1>LDRV_DRV Ctrl size [0x100]
<1>SHMDRV Ctrl GPP address [0xc3f05100]
<1>SHMDRV Ctrl DSP address [0xc3f05100]
<1>SHMDRV Ctrl size [0x80]
<1>LDRV_IPS Ctrl GPP address [0xc3f05180]
<1>LDRV_IPS Ctrl DSP address [0xc3f05180]
<1>LDRV_IPS Ctrl size [0x100]
<1>IPS Ctrl GPP address [0xc3f00000]
<1>IPS Ctrl DSP address [0xc3f00000]
<1>IPS Ctrl size [0x2380]
<1>IPS Ctrl GPP address [0xc3f05280]
<1>IPS Ctrl DSP address [0xc3f05280]
<1>IPS Ctrl size [0x2380]
<1>LDRV_POOL Ctrl GPP address [0xc3f07600]
<1>LDRV_POOL Ctrl DSP address [0xc3f07600]
<1>LDRV_POOL Ctrl size [0x80]
<1>SMAPOOL shared memory GPP address [0xc3f07680]
<1>SMAPOOL shared memory DSP address [0xc3f07680]
<1>SMAPOOL shared memory physical address [0xc3f07680]
<1>SMAPOOL shared memory size [0xa80]
<1>SMAPOOL Ctrl GPP address [0xc3f07880]
<1>MPCS Ctrl GPP address [0xc3f08100]
<1>MPCS Ctrl DSP address [0xc3f08100]
<1>MPCS Ctrl physical address [0xc3f08100]
<1>MPCS Ctrl size [0x8200]
<1>MPLIST Ctrl GPP address [0xc3f10300]
<1>MPLIST Ctrl DSP address [0xc3f10300]
<1>MPLIST Ctrl physical address [0xc3f10300]
<1>MPLIST Ctrl size [0x2200]
<1>LDRV_MQT Ctrl GPP address [0xc3f12500]
<1>LDRV_MQT Ctrl DSP address [0xc3f12500]
<1>LDRV_MQT Ctrl size [0x80]
<1>ZCPYMQT Ctrl GPP address [0xc3f12580]
<1>ZCPYMQT Ctrl DSP address [0xc3f12580]
<1>ZCPYMQT Ctrl size [0x480]
<1>LDRV_DATA Ctrl GPP address [0xc3f12a00]
<1>LDRV_DATA Ctrl DSP address [0xc3f12a00]
<1>LDRV_DATA Ctrl size [0x80]
<1>ZCPYDATA Ctrl GPP address [0xc3f12a80]
<1>ZCPYDATA Ctrl DSP address [0xc3f12a80]
<1>ZCPYDATA Ctrl size [0x2e00]
<1>ZCPYDATA freeChirps address [0xc3f15080]
Leaving DRV_Invoke () status [0x8000]
Entered _MPCS_init ()
procId [0x0]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7201]
arg1 [0xc078410c]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Entered _MPCS_open ()
procId [0x0]
name [0xc07ac20c]
mpcsHandle [0xc07ada64]
mpcsShObj [0xc3f08180]
Entered _MPCS_OS_open ()
procId [0x0]
name [0xc07ac20c]
mpcsHandle [0xc07ada64]
mpcsShObj [0xc3f08180]
Entered _MEM_USR_calloc ()
ptr [0xc07ada64]
bytes [0x10]
_MEM_USR_calloc *ptr [0xc073fbbc]
Leaving _MEM_USR_calloc () status [0x8000]
Entered _SYNC_USR_createCS ()
idKey [0xc07ac20c]
csObj [0xc073fbc0]
Entered _IDM_USR_acquireId ()
key [0x10080]
idKey [0xc07ac20c]
id [0xc0784070]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7355]
arg1 [0xc0784038]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving _IDM_USR_acquireId () status [0x8000]
Leaving _SYNC_USR_createCS () status [0x8000]
Leaving _MPCS_OS_open () status [0x8000]
Leaving MPCS_open () status [0x8000]
Leaving _MPCS_init () status [0x8000]
Entered _MPLIST_moduleInit ()
procId [0x0]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7321]
arg1 [0xc07840f4]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Entered MPCS_create ()
procId [0x0]
name [0xc07ac734]
mpcsShObj [0xc3f10380]
attrs [0xc07840f2]
Entered MPCS_enter ()
mpcsHandle [0xc073fbbc]
Entered _SYNC_USR_enterCS ()
csObj [0xc073fbdc]
Leaving _SYNC_USR_enterCS () status [0x8000]
Leaving MPCS_enter () status [0x8000]
Entered MPCS_leave ()
mpcsHandle [0xc073fbbc]
Entered _SYNC_USR_leaveCS ()
csObj [0xc073fbdc]
Leaving _SYNC_USR_leaveCS () status [0x8000]
Leaving MPCS_leave () status [0x8000]
Leaving MPCS_create () status [0x8000]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7322]
arg1 [0xc07840f4]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving _MPLIST_moduleInit () status [0x8000]
Entered _MPLIST_init ()
procId [0x0]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7321]
arg1 [0xc078410c]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Entered _MPCS_open ()
procId [0x0]
name [0xc07ac734]
mpcsHandle [0xc07ada84]
mpcsShObj [0xc3f10380]
Entered _MPCS_OS_open ()
procId [0x0]
name [0xc07ac734]
mpcsHandle [0xc07ada84]
mpcsShObj [0xc3f10380]
Entered _MEM_USR_calloc ()
ptr [0xc07ada84]
bytes [0x10]
_MEM_USR_calloc *ptr [0xc073fc6c]
Leaving _MEM_USR_calloc () status [0x8000]
Entered _SYNC_USR_createCS ()
idKey [0xc07ac734]
csObj [0xc073fc70]
Entered _IDM_USR_acquireId ()
key [0x10080]
idKey [0xc07ac734]
id [0xc0784070]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7355]
arg1 [0xc0784038]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving _IDM_USR_acquireId () status [0x8000]
Leaving _SYNC_USR_createCS () status [0x8000]
Leaving _MPCS_OS_open () status [0x8000]
Leaving MPCS_open () status [0x8000]
Leaving _MPLIST_init () status [0x8000]
Entered _SYNC_USR_leaveCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_leaveCS () status [0x8000]
Leaving PROC_attach () status [0x8000]
Entered POOL_open ()
poolId [0x0]
params [0xc0784198]
Entered _SYNC_USR_enterCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_enterCS () status [0x8000]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x7101]
arg1 [0xc0784144]
arg2 [0x0]
<1>SMAPOOL buffers start GPP address [0xc3f30000]
<1>SMAPOOL buffers start DSP address [0xc3f30000]
Leaving DRV_Invoke () status [0x8000]
Entered _SYNC_USR_leaveCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_leaveCS () status [0x8000]
Leaving POOL_open () status [0x8000]
Entered PROC_load ()
procId [0x0]
imagePath [0xc2b092fc]
argc [0x2]
argv [0xc07841ac]
Entered _SYNC_USR_enterCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_enterCS () status [0x8000]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x6c05]
arg1 [0xc0784148]
arg2 [0x0]
<1>Swapped: 0
<1>Number of Symbols: 3077
<1>Optional Header Size: 28
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
<1>Optional Header Size: 28
<1>Number of Sections: 49
Leaving DRV_Invoke () status [0x8000]
Entered _SYNC_USR_leaveCS ()
csObj [0xc2b09a38]
Leaving _SYNC_USR_leaveCS () status [0x8000]
Leaving PROC_load () status [0x8000]
Entered CHNL_create ()
procId [0x0]
chnlId [0x0]
attrs [0xc07841b4]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x6d01]
arg1 [0xc0784150]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving CHNL_create () status [0x8000]
Entered CHNL_create ()
procId [0x0]
chnlId [0x1]
attrs [0xc07841c0]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x6d01]
arg1 [0xc0784150]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving CHNL_create () status [0x8000]
Entered CHNL_allocateBuffer ()
procId [0x0]
chnlId [0x0]
size [0x80]
bufArray [0xc07ace94]
numBufs [0x1]
Entered DRV_Invoke ()
drvObj [0xc2b098ac]
cmdId [0x6d05]
arg1 [0xc0784150]
arg2 [0x0]
Leaving DRV_Invoke () status [0x8000]
Leaving CHNL_allocateBuffer () status [0x8000]
Leaving LOOP_Create ()
Entered LOOP_Execute ()
Entered PROC_start ()
procId [0x0]
Entered _SYNC_USR----------------------> system dead here