RE: dsp-bridge synch issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:felipe.contreras@xxxxxxxxx]
> Sent: Wednesday, October 22, 2008 11:53 AM
> To: linux-omap@xxxxxxxxxxxxxxx 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux