Hi,
I'm experiencing some problems with the Notify module. It looks like user code never receives notifications from DSP. For example, the NotifyApp sample. If I run the user version of this sample, it blocks after the line Waiting for notification from processor 0. But if I run the kernel sample, no problem.
Same thing with the ringIO : kernel sample works fine, but user sample ends up waiting forever for a notification that never arrives. I noticed that, in the source code of RingIOApp (hlos part), the semaphore_pend is in a #if 1 statement. Does it mean somebody already had problems with this before ?
The only thing I did for the moment, is to look at the return value of Notify_sendEvent on the DSP side, and saw that it returns 0 which is good. So it looks like the notification is lost somewhere on the GPP side... Any hint ??
Configuration : OMAPl138 EVM board, kernel Linux 2.6.37, SysLink 02.00.00.68_beta1
Thank you for your help,
Arnaud.
I'll paste here the result of the notify app in case it helps :
# ./notifyapp_debug 1 0 ./notify_omapl1xx_dsp.x674
NotifyApp sample application
Entered NotifyApp_startup. Number of processors: 2
Entered SysLinkSamples_startup
SysLinkSamples_osStartup
SysLinkSamples_setToRunProcIds
Loading and starting procId [0] with [./notify_omapl1xx_dsp.x674]
Entered ProcMgrApp_startup
ProcMgr_attach status: [0x97d2000]
After attach: ProcMgr_getState
state [0x1]
ProcMgr_load status: [0x485f000]
After Ipc_loadcallback: ProcMgr_getState
state [0x3]
ProcMgr_start passed [0x6a85000]
After Ipc_startcallback: ProcMgr_getState
state [0x4]
ProcMgr_close status: [0x97d2000]
Leaving ProcMgrApp_startup
ProcMgrApp_startup status [0]
Registered event number 10 with Notify module for processor 0
Registered event number 11 with Notify module for processor 0
Registered event number 10 with Notify module for processor 1
Registered event number 11 with Notify module for processor 1
Leaving NotifyApp_startup. Status [0x0]
Entered NotifyApp_execute
Sending events to procId 0
Sent 5000 events to event ID 10 to processor 0
Sent 5000 events to event ID 11 to processor 0
Sent 10000 events to event ID 10 to processor 0
Sent 10000 events to event ID 11 to processor 0
Sending events to procId 1
Sent 5000 events to event ID 10 to processor 1
Sent 5000 events to event ID 11 to processor 1
Sent 10000 events to event ID 10 to processor 1
Sent 10000 events to event ID 11 to processor 1
Waiting for notification from processor 0