Looks similar to this:

http://tiexpressdsp.com/wiki/index.php?title=Troubleshooting_DSPLink_configuration_issues#Problem:_PROC_start_failed_with_configuration_mismatch.2Ffailure_showing_some_modules_with_0.2C_some_with_1.2C_2_etc._and_others_with_0xffffffff

Are you not freeing up the memory resources that the first application obtains?

Brad

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mat Laibowitz
Sent: Saturday, October 25, 2008 2:07 AM
To: [email protected]
Subject: Re: running two applications on DM6446

Forgot the trace.
Here it is. It looks like it fails with 0x80008000 which I think is some sort 
of permissions problem. Probably because the first application is blocking some 
resource required to open the server.
Thanks,
-mat

@0,428,384us: [+0 T:0x4001cd50] CE - Engine_open> Enter('decode', 0x0, 
0xbedcc93c)                                                                                                                
 
@0,428,587us: [+0 T:0x4001cd50] CE - rserverOpen('./decodeCombo.x64P'), count = 
0                                                                                                                 
 
@0,428,756us: [+0 T:0x4001cd50] OP - Process_create> 
Enter(imageName='./decodeCombo.x64P', linkCfg='(null)', 
attrs=0xbedcc940)                                                                    
 
@0,429,906us: [+0 T:0x40aeb4c0] OP - Process_create_d> 
Enter(proc=0x35618)                                                                                                                        
 
@0,430,115us: [+2 T:0x40aeb4c0] OP - Process_create_d> Initializing DSP 
PROC...                                                                                                                   
 
@0,430,257us: [+2 T:0x40aeb4c0] OP - Process_create_d> Using DspLink config 
data for entry #0 [server 
'./decodeCombo.x64P']                                                                       
 
@0,430,698us: [+2 T:0x40aeb4c0] OP - Process_create_d> Adding DSP segment #0 to 
Link configuration: name='DDR2', startAddress=0x8fa00000, sizeInBytes=0x400000, 
shared=1                           
@0,430,912us: [+2 T:0x40aeb4c0] OP - Process_create_d> Adding DSP segment #1 to 
Link configuration: name='DSPLINKMEM', startAddress=0x8fe00000, 
sizeInBytes=0x100000, shared=1                     
@0,431,075us: [+2 T:0x40aeb4c0] OP - Process_create_d> Adding DSP segment #2 to 
Link configuration: name='RESETCTRL', startAddress=0x8ff00000, 
sizeInBytes=0x80, shared=0                          
@0,431,225us: [+2 T:0x40aeb4c0] OP - Process_create_d> Adding DSP segment #3 to 
Link configuration: name='DDRALGHEAP', startAddress=0x88000000, 
sizeInBytes=0x7a00000, shared=0                    
@0,431,370us: [+2 T:0x40aeb4c0] OP - Process_create_d> DOPOWERCONTROL was=0; 
now=0                                                                                                                
 
@0,432,362us: [+7 T:0x40aeb4c0] OP - Process_create_d> Loading and starting DSP 
server './decodeCombo.x64P' FAILED, status=[0x80008000] (look for error code 
'DSP_EBASE + 0x0' in dsplink*/package 
@0,432,585us: [+0 T:0x40aeb4c0] OP - Process_delete_d> Enter 
(proc=0x35618                                                                                                                        
 
@0,432,710us: [+2 T:0x40aeb4c0] OP - Process_delete_d> Closing remote 
transport...                                                                                                                
 
@0,773,153us: [+6 T:0x40aeb4c0] OP - Process_delete_d> Closing remote transport 
FAILED, 
status=0x80008000.                                                                                        
 
@0,773,352us: [+2 T:0x40aeb4c0] OP - Process_delete_d> Stopping 
DSP...                                                                                                                            
 
@0,773,654us: [+6 T:0x40aeb4c0] OP - Process_delete_d> Stopping DSP FAILED, 
status=0x80008000                                                                                                     
 
@0,773,853us: [+2 T:0x40aeb4c0] OP - Process_delete_d> Closing 
pool...                                                                                                                            
 
@0,773,986us: [+6 T:0x40aeb4c0] OP - Process_delete_d> Closing pool FAILED, 
status=0x8000800b                                                                                                     
 
@0,774,112us: [+2 T:0x40aeb4c0] OP - Process_delete_d> Detaching from 
DSP...                                                                                                                      
 
@0,774,699us: [+6 T:0x40aeb4c0] OP - Process_delete_d> Detaching from DSP 
FAILED, 
status=0x80008002                                                                                               
 
@0,774,893us: [+2 T:0x40aeb4c0] OP - Process_delete_d> Destroying DSP... 
(object, that 
is)                                                                                                        
 
@0,775,610us: [+6 T:0x40aeb4c0] OP - Process_delete_d> Destroying DSP FAILED, 
status=0x80008000                                                                                                   
 
@0,775,852us: [+0 T:0x40aeb4c0] OP - Process_delete_d> 
return                                                                                                                                     
 
@0,775,977us: [+2 T:0x40aeb4c0] OP - Process_create_d> return 
(0)                                                                                                                                 
 
@0,776,209us: [+0 T:0x4001cd50] OP - Process_delete> 
Enter(proc=0x35618)                                                                                                                          
 
@0,776,362us: [+1 T:0x4001cd50] OP - Process_delete(0x35618) freeing object 
...                                                                                                                   
 
@0,776,491us: [+0 T:0x4001cd50] OP - Process_delete> 
return.                                                                                                                                      
 
@0,776,605us: [+6 T:0x4001cd50] CE - rserverOpen: can't start 
'./decodeCombo.x64P'; Process_create 
failed                                                                                         
 
@0,776,757us: [+0 T:0x4001cd50] CE - rserverOpen('./decodeCombo.x64P'): 0x0 
done.                                                                                                                 
 
@0,776,877us: [+0 T:0x4001cd50] CE - 
Engine_close(0x355e8)                                                                                                                                        
 
@0,776,998us: [+0 T:0x4001cd50] CE - Engine_open> 
return(0)                                                                                                                                       
 
Encode Error: Failed to open codec engine decode 
On Sat, Oct 25, 2008 at 3:03 AM, Mat Laibowitz <[EMAIL PROTECTED]> wrote:
I am trying to run two applications on the ARM core that use Codec Engine 
codecs and have not been able to get it to work at all.
The two applications do not use the same codecs. 
I have tried putting the codecs in one server combo. Whichever application I 
run first works, the second not only fails but hangs the davinci device with an 
error message like this:

DSP-side configuration mismatch/failure
0              -> success
Positive value -> DSP-side failure code.
(Uint32) -1    -> DSP-side component was not initialized.

    DRV configuration status    [0x0]
    IPS configuration status    [0x1]
    POOL configuration status   [0xffffffff]
    MPCS configuration status   [0xffffffff]
    MPLIST configuration status [0xffffffff]
    MQT configuration status    [0xffffffff]
    RINGIO configuration status [0xffffffff]

I have also tried building two codec server combos one for each application and 
have the same problems.
The debug trace is below.
Is it even possible to do this?
I think it should be possible to have two applications open a server or at 
least open individual servers.
Maybe I am just not setting it up correctly.
Any help would be really appreciated, I am quite stuck.
Thanks,
-mat

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

Reply via email to