Hi,
I have a project where I'm trying to run both a Codec Engine application and a DSPLINK only application (but not at the same time of course). I have both applications sharing the same DSPLINK build and both apps can run the DSP successfully if they are started first but when I try to switch from one the the other, the DSP fails to start. I though that since Codec Engine and my DSPLINK application are both using the same DSPLINK PROC_* api's to load the DSP, these apps would coexsist happily, but that doesn't not appear to be the case. Does anyone know if what I'm trying to do is possible and what the error might be? I'm using DSPLINK 1.61/Codec Engine 2.22.
My test case is as follows
1. run DSPLINK only application which calls PROC_setup/PROC_attach & PROC_load
2. DSPLINK application runs OK
3. end this application ,calling PROC_stop/PROC_detach/PROC_destroy
4. run my codec engine application.
5. A time out occurs in the PROC_start call inside Codec Engine's procCreate (TRACE is below)
Thanks
Craig
@0,468,013us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Adding DSP segment #0 to Link configuration: name='DDR2', startAddress=0x8f000000, sizeInBytes=0xe00000, shared=1, syncd=0
@0,468,184us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', startAddress=0x8fe00000, sizeInBytes=0x100000, shared=1, syncd=0
@0,468,350us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Adding DSP segment #2 to Link configuration: name='RESET_VECTOR', startAddress=0x8ff00000, sizeInBytes=0x80, shared=1, syncd=0
@0,468,512us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Adding DSP segment #3 to Link configuration: name='DDRALGHEAP', startAddress=0x8d000000, sizeInBytes=0x2000000, shared=0, syncd=0
@0,468,673us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> DODSPCTRL was=1; now=0
@0,475,163us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Attaching to DSP PROC...
@0,501,047us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Opening MSGQ pool...
@0,504,562us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Loading /dsp/dsp_armce.x64P on DSP (1 args)...
@0,613,614us: [+2 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Starting DSP PROC...
@21,850,411us: [+7 T:0x40eaa490 S:0x40ea9d44] OP - Processor_create_d> Loading and starting DSP server '/dsp/dsp_armce.x64P' FAILED, status=[0x80008017] (look for error code 'DSP_EBASE + 0x17' in dsplink*/packages/dsplink/gpp/inc/usr/errbase.h)
@21,853,807us: [+0 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Enter (proc=0xde810)
@21,855,710us: [+2 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Closing remote transport...
@21,857,780us: [+6 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008000.
@21,859,801us: [+2 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Stopping DSP...
@21,861,755us: [+6 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Stopping DSP FAILED, status=0x80008000
@21,863,868us: [+2 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Closing pool...
@21,866,033us: [+2 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Detaching from DSP...
@21,880,621us: [+2 T:0x40eaa490 S:0x40ea9d24] OP - Processor_delete_d> Destroying DSP... (object, that is)