Working on getting the readwrite sample to work on an L138. When trace is enabled, there seems to be an issue leaving DRV_Invoke during the attach process. No matter what file I use(readwrite.out normally but I've even tried non-DSP junk files), the error and status are always the same. A partial trace is below showing this issue.
What would cause the DRV_Invoke to fail during the attach process?
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving DRV_Invoke () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving _IDM_USR_acquireId () status [0x8000]
Feb 01 05:47:35 5 30 0 DSPLINK:handle_devctl_sync_createcs(2745): Enter: file /syncusr_dsplinkID_API_PROC
Feb 01 05:47:35 5 30 0 DSPLINK:handle_devctl_sync_createcs(2784): ----- status 0
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving _SYNC_USR_createCS () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered PROC_resetCurStatus ()
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving PROC_resetCurStatus ()
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving PROC_setup () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered PROC_attach ()
procId [0x0]
attr [0x0]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered _SYNC_USR_enterCS ()
csObj [0x1800000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving _SYNC_USR_enterCS () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered DRV_Invoke ()
drvObj [0x0]
cmdId [0x6c08]
arg1 [0xffd38]
arg2 [0x0]
Feb 01 05:47:35 5 30 0 DSPLINK:handle_devctl_proc_attach(1419): Enter---< pid 24592, tid 1 >
Feb 01 05:47:35 3 30 1 DSPLINK:Entered PMGR_PROC_attach ()
procId [0x0]
attr [0x0]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered SYNC_ProtectionStart ()
Feb 01 05:47:35 3 30 1 DSPLINK:Entered SYNC_EnterCS ()
cSObj [0x12f110]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving SYNC_EnterCS () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving SYNC_ProtectionStart ()
Feb 01 05:47:35 3 30 1 DSPLINK:Entered SYNC_ProtectionEnd ()
Feb 01 05:47:35 3 30 1 DSPLINK:Entered SYNC_LeaveCS ()
cSObj [0x12f110]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving SYNC_LeaveCS () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving SYNC_ProtectionEnd ()
Feb 01 05:47:35 3 30 1 DSPLINK:Entered PRCS_Create ()
prcsObj [0xdee14]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered MEM_Alloc ()
ptr [0xdee14]
cBytes [0x14]
arg [0x0]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving MEM_Alloc () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving PRCS_Create () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered SYNC_EnterCS ()
cSObj [0x12f1d0]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving SYNC_EnterCS () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered LIST_Create ()
list [0x120f2c]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered MEM_Calloc ()
ptr [0xdedf4]
cBytes [0x8]
arg [0x0]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered MEM_Alloc ()
ptr [0xdedf4]
cBytes [0x8]
arg [0x0]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving MEM_Alloc () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving MEM_Calloc () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving LIST_Create () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered LDRV_init ()
procId [0x0]
dspCfg [0x0]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered CFGMAP_attachObject ()
procId [0x0]
dspName [0x1325c8]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered GEN_Strcmp ()
string1 [0x1325c8]
string2 [0x65746e45]
cmpResult [0xdedd8]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered GEN_Strlen ()
strSrc [0x1325c8]
length [0xdedb4]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving GEN_Strlen () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered GEN_Strlen ()
strSrc [0x65746e45]
length [0xdedb0]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving DRV_Invoke () status [0x80008008]
Feb 01 05:47:35 3 30 1 DSPLINK:Entered _SYNC_USR_leaveCS ()
csObj [0x1800000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving _SYNC_USR_leaveCS () status [0x8000]
Feb 01 05:47:35 3 30 1 DSPLINK:Leaving PROC_attach () status [0x80008008]