Hi Felipe,

> I wrote a very simple DSP test and I'm having some synchronization issues.
> http://github.com/felipec/dsp-dummy
> 
> Basically:
>   DSPNode_PutMessage (core->node, &msg, DSP_FOREVER);
>   usleep (4000);
>   DSPNode_GetMessage (core->node, &msg, 0);

-- The DSP_SYSERROR is reported by DSP side of the Bridge.
Try passing -1 (infinite wait) as the timeout to DSPNode_GetMessage function 
instead of 0. 
You can refer to the dmmcopy.c sample file in the bridge tarball on omapzoom.

Thank you,
Best regards,
Hari

> -----Original Message-----
> From: Felipe Contreras [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2008 11:53 AM
> To: [email protected] List; Kanigeri, Hari
> Subject: dsp-bridge synch issues
> 
> Hi,
> 
> I wrote a very simple DSP test and I'm having some synchronization issues.
> http://github.com/felipec/dsp-dummy
> 
> Basically:
>   DSPNode_PutMessage (core->node, &msg, DSP_FOREVER);
>   usleep (4000);
>   DSPNode_GetMessage (core->node, &msg, 0);
> 
> If I remove the usleep, I get:
> 
> DSPNodeCreate succeeded
> DSPNode_run succeeded
> WMD_DEH_Notify: ********** DEVICE EXCEPTION **********
> WMD_DEH_Notify: DSP_SYSERROR, errInfo = 0x102
> WMD_DEH_Notify: ********** DEVICE EXCEPTION **********
> WMD_DEH_Notify: DSP_SYSERROR, errInfo = 0x102
> WMD_DEH_Notify: ********** DEVICE EXCEPTION **********
> WMD_DEH_Notify: DSP_SYSERROR, errInfo = 0x102
> WMD_DEH_Notify: ********** DEVICE EXCEPTION **********
> WMD_DEH_Notify: DSP_SYSERROR, errInfo = 0x102
> 
> If I add it:
> 
> DSPNodeCreate succeeded
> DSPNode_run succeeded
> 
> Any ideas?
> 
> --
> Felipe Contreras

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to