Jowelle,

 

One suggestion for your application is: You can use DSP/BIOS LINK for
your application scenario.

1)    Application can configure the shared memory using Link.

2)    Application on GPP side can use PROC_write API to store
unprocessed buffer at pre-defined memory location.

3)    The MSGQ protocol can be used for sending commands to start
processing on the DSP.

4)    The application on DSP side can then use the PROC_read protocol to
read the data.

5)    DSP can use MSGQ protocol to send the results back to GPP.

 

You can have a look at the documentation in the $DSPLINK/doc folder.
Also, you can have a look at the reference sample code for message
sample and readwrite sample in $DSPLINK/[gpp|dsp}/src/samples. This will
be a good starting point on how to use LINK in your custom app.

 

Regards,

Deepali

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Ring, Chris
Sent: Tuesday, July 10, 2007 9:55 PM
To: Vasiliy Titskiy; davinci-linux-open-source@linux.davincidsp.com
Subject: RE: [SPAM] - DSP and GPP shared memory - Bayesian
Filterdetectedspam

 

Also, cache management is often important to consider when going across
processor boundaries (and even across component ownership of buffers!).
Just posted this to try to capture many of the cache issues:

 

http://wiki.davincidsp.com/index.php?title=Cache_Management

 

Feel free to correct errors (I did my best... but cache management is
quite tricky).  ;)  If you want to discuss details, I might suggest
doing it on the "discussion" tab of the topic above so we capture the
chat.

 

Chris

         

        
________________________________


        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Vasiliy Titskiy
        Sent: Tuesday, July 10, 2007 9:02 AM
        To: davinci-linux-open-source@linux.davincidsp.com
        Subject: RE: [SPAM] - DSP and GPP shared memory - Bayesian
Filter detectedspam

        Hello, 

         

        You can use CMEM driver for this task. And DSPLINK driver for
sending/receiving messages to/from DSP.

         

        --

          Vasily Titsky

        
________________________________


        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Jowelle Pinlac
        Sent: Monday, July 09, 2007 10:41 PM
        To: davinci-linux-open-source@linux.davincidsp.com
        Subject: [SPAM] - DSP and GPP shared memory - Bayesian Filter
detected spam

         

        Hi everyone.

         

        Does anyone in here able to use shared memory on the

        GPP and DSP ? We're planning to implement a common

        memory area where the GPP will store the unprocessed

        buffer (GPP will then send message to DSP to start

        processing the raw data),  the DSP will then access 

        this area for processing then send the result information

        back to the GPP.

         

        Any information or reference on how I can accomplish 

        this shared memory area approach. Would it be possible 

        if I define a static area(address) on GPP and DSP side 

        where to store and read the unprocessed buffer ?

         

        Any information on this matter is highly appreciated.

         

        Regards,

        Jowelle

         

         

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to