Hello,

 

The possible causes for PROC_start failure:

 

*       DSP has not been loaded correctly, and hence is not executing
correctly to reach the point where the driver completes the handshake
between GPP and DSP for PROC_Start. 

 

*       There is a memory configuration mismatch in memory regions
between the GPP and DSP, resulting in the GPP looking for handshake at
one location, and the DSP looking at another location. 

    Have you made memory address changes in
$DSPLINK/config/all/CFG_Davinci.TXT? If so please check:

        *       Are the memory address changes present both in gpp side
configuration $DSPLINK/config/all/CFG_DAVINCI>TXT as well as dsp side
platform tci file
$DSPLINK/dsp/inc/DspBios/Davinci/dsplink-davinci-base.tci 
        *       No memory segment is overlapping i.e. you can sum the
base address and size of each memory segment to ensure that no memory
segment is overlapping 
        *       Is the POOL size configured to be a subset of the memory
entry from which it is configured? i.e. the size is less than the size
of the DSPLINKMEM entry 

 

*       User has not reserved the required amount of memory from Linux
kernel space. 

        *       Check Linux kernel space of Davinci platform i.e. check
mem boot parameter value. Has the mem boot parameter correctly
configured? 

 

*       Have you got Dsplink source base from a CE release? If so, there
is a known issue where the samples require SW3-4 be set to "ON"
position. The SW3-4 switch controls whether the ARM boots the DSP or the
DSP 'self boots'.  Setting this switch to "1" says that the DSP should
'self boot'. When the DSP self boots, the samples would work as PSC and
GEM are both enabled but when ARM boots the DSP i.e. ARM has to do the
power management of DSP, the samples would not work. Please check if the
samples work when you set SW3-4 to ON. If they work, you can check the
DOPOWERCTRL flag in $DSPLINK/config/all/CFG_Davinci.TXT. If it is FALSE,
make it TRUE, rebuild. The samples will work for both host boot and self
boot mode.

 

By the way the 1.30 stream is quite old. Please note that more recent
versions of DSPLINK available, the most latest being 1.40.05 which can
be downloaded through the external website
https://www-a.ti.com/downloads/sds_support/targetcontent/link/index.html
. The later releases have many additional protocols and features which
could be useful for you.

 

Regards,

Deepali

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of ketan deshpande
Sent: Friday, June 29, 2007 5:00 PM
To: Linux DaVinci; Subashini Ravindran
Subject: DSPLINK PROC_Start failure

 

Hi,

I am trying to compile and run the DSPlink_1_30 and "message queue"
examples associated with it.
We compiled the DSPLink successfully; and also could run the examples in
it.

After that when we are try to compile "message queue" example and run
it. 
While compiling it did not give any error. but when we try to run it..it
fails...

./messagegpp message.out 1

Following is the debug trace we have captured 

Entered PROC_Load ()
    procId    [0x0]
    imagePath    [0xbefffece]
    argc    [0x1]
    argv    [0xbefffc48]
Entered DRV_Invoke ()
    drvObj    [0x16008]
    cmdId    [0x6c05]
    arg1    [0xbefffc08]
    arg2    [0x0]
Leaving DRV_Invoke ()     status [0x8000]
Leaving PROC_Load ()     status [0x8000]
Entered PROC_Start ()
    procId    [0x0]
Entered DRV_Invoke ()
    drvObj    [0x16008]
    cmdId    [0x6c03]
    arg1    [0xbefffc18]
    arg2    [0x0]
Leaving DRV_Invoke ()     status [0x80008008]

Failure: Status:[0x80008008] File:[0x200] Line:[537]
Leaving PROC_Start ()     status [0x80008008]
PROC_Start () failed. Status = [0x80008008]
Leaving MESSAGE_Create ()
Entered PROC_Stop ()
    procId    [0x0]
Entered DRV_Invoke ()
    drvObj    [0x16008]
    cmdId    [0x6c04]
    arg1    [0xbefffc28]
    arg2    [0x0]
Leaving DRV_Invoke ()     status [0x8000801b]

Failure: Status:[0x8000801b] File:[0x200] Line:[575]
Leaving PROC_Stop ()     status [0x8000801b]


Any idea what could be going wrong in our case. 

regards,
-Ketan


Send free SMS to your Friends on Mobile from your Yahoo! Messenger.
Download Now! http://messenger.yahoo.com/download.php

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to